You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d09f3ee
Browse filesBrowse the repository at this point in the historyBrowse files
feat(web): add theme system with light/dark/night modes and compact user messages
- Add theme selector in sidebar with 4 options: light, dark, night, system
- Extend useTheme hook to support new theme types
- Add CSS variables for dark (balanced) and night (darkest) themes
- Make user message cards more compact:
- Reduced padding (px-3 py-2)
- Smaller text (13px)
- Actions appear below card on hover
- Update CHANGELOG.md
-**Theme selector**: Added theme toggle button in sidebar with three theme options:
7
+
-**Light**: Light mode
8
+
-**Dark**: Balanced dark mode with brighter backgrounds and more visible UI elements
9
+
-**Night**: Darkest mode (previously the only dark mode)
10
+
-**System**: Follow system preference
11
+
12
+
### Changed
13
+
-**apps/web/src/hooks/useTheme.ts**: Extended theme system to support `light`, `dark`, `night`, and `system` themes. Added `THEME_OPTIONS` export and `Theme` type export.
14
+
-**apps/web/src/index.css**: Added CSS variables for the new "dark" middle-ground theme and renamed existing dark theme to "night". The dark theme now uses brighter backgrounds (neutral-800/900 vs neutral-950) and more visible borders/accents.
15
+
-**apps/web/src/components/Sidebar.tsx**: Added theme selector menu with icon (Sun/Moon/MoonStar) in the sidebar header, available in both desktop and web modes.
16
+
-**apps/web/src/components/ChatView.tsx**: Made user messages more compact:
17
+
- Reduced padding (px-3 py-2 instead of px-4 py-3)
18
+
- Smaller text (13px instead of 14px)
19
+
- Action buttons (copy, rollback) and timestamp moved below the message card
0 commit comments