fix: improve purchased items visibility on dark theme #9

Merged
Arrelin merged 1 commits from bugfix/darktheme into master 2026-01-23 20:47:10 +03:00
2 changed files with 11 additions and 1 deletions
Showing only changes of commit 4ec3b12d03 - Show all commits

View File

@@ -302,7 +302,7 @@ export default function ShoppingListModal({ familyId, onClose }: ShoppingListMod
{purchasedItems.map((item) => ( {purchasedItems.map((item) => (
<div <div
key={item.id} 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 justify-between">
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">

View File

@@ -191,6 +191,16 @@
border-color: rgba(139, 92, 246, 0.5); 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 { .animate-fadeIn {
animation: fadeIn 0.2s ease-in-out; animation: fadeIn 0.2s ease-in-out;
} }