Merge pull request 'fix: improve purchased items visibility on dark theme' (#9) from bugfix/darktheme into master
All checks were successful
Build and Publish Images / build-and-push (push) Successful in 12s

Reviewed-on: http://192.168.31.100:3847/Arrelin/family_budget/pulls/9
This commit was merged in pull request #9.
This commit is contained in:
2026-01-23 17:47:10 +00:00
2 changed files with 11 additions and 1 deletions

View File

@@ -302,7 +302,7 @@ export default function ShoppingListModal({ familyId, onClose }: ShoppingListMod
{purchasedItems.map((item) => (
<div
key={item.id}
className="bg-green-50 p-4 rounded-2xl border-2 border-green-200"
className="shopping-purchased p-4 rounded-2xl border-2"
>
<div className="flex items-center justify-between">
<div className="flex items-center gap-3">

View File

@@ -191,6 +191,16 @@
border-color: rgba(139, 92, 246, 0.5);
}
.shopping-purchased {
background-color: rgb(240, 253, 244);
border-color: rgb(187, 247, 208);
}
[data-theme="dark"] .shopping-purchased {
background-color: rgba(34, 197, 94, 0.15);
border-color: rgba(34, 197, 94, 0.4);
}
.animate-fadeIn {
animation: fadeIn 0.2s ease-in-out;
}