Merge pull request 'fix: improve member highlight visibility on dark theme' (#8) from feature/personal-account 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/8
This commit was merged in pull request #8.
This commit is contained in:
2026-01-23 14:38:14 +00:00
2 changed files with 11 additions and 1 deletions

View File

@@ -181,6 +181,16 @@
color: var(--text-secondary);
}
.member-current {
background-color: rgb(243, 232, 255);
border-color: rgb(216, 180, 254);
}
[data-theme="dark"] .member-current {
background-color: rgba(139, 92, 246, 0.2);
border-color: rgba(139, 92, 246, 0.5);
}
.animate-fadeIn {
animation: fadeIn 0.2s ease-in-out;
}

View File

@@ -238,7 +238,7 @@ export default function Profile() {
{familyMembers.map((member) => (
<div
key={member.id}
className={`flex items-center justify-between p-3 rounded-xl ${member.id === user?.id ? 'bg-purple-50 border border-purple-200' : 'bg-gray-50'}`}
className={`flex items-center justify-between p-3 rounded-xl ${member.id === user?.id ? 'member-current border' : 'bg-gray-50'}`}
>
<div className="flex items-center gap-2">
<div className="w-8 h-8 category-icon rounded-full flex items-center justify-center text-white text-sm font-medium">