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
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:
@@ -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">
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user