fix(accent-color): restore color on reload + apply sidebar vars

header.tsx: accentColor was missing from setUser call on mount —
applyAccentColor(undefined) fired on every reload, removing --primary.

auth-store: also set --sidebar-accent (15% opacity) and
--sidebar-accent-foreground so active sidebar items match accent.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-01 13:30:33 +02:00
parent 42daa87e5e
commit b719291bdc
2 changed files with 22 additions and 1 deletions
@@ -32,6 +32,7 @@ export function Header() {
role: u.role,
tenantId: u.tenantId,
hasAvatar: u.hasAvatar,
accentColor: u.accentColor,
});
}
});