Menubar ui
Title
Match menu theme to light/dark mode
Summary
Align the slide-out menu styling with the active site theme so it no longer stays dark in light mode. The menu now uses theme-aware colors for background, text, borders, hover states, and popovers to match light/dark appearance automatically.
Changes
- Updated menu container to use
bg-backgroundandtext-foregroundinstead of hardcoded dark colors. - Replaced dark-only borders and hover styles with theme tokens (
border-border,bg-muted,text-muted-foreground). - Updated role dropdown and help popover to use
bg-popover/text-popover-foregroundwith theme-aware borders. - Adjusted active/hover states to use
bg-primary/10andbg-mutedfor consistent contrast in both themes.
Files Updated
src/components/AppLayout.tsx
Behavior Before
Menu was always dark, even when the app theme was light.
Behavior After
Menu follows the app theme: light in light mode, dark in dark mode.
Testing
- Manual: toggle theme and open the menu; verify background/text/hover styles adapt correctly.