-
Notifications
You must be signed in to change notification settings - Fork 0
Dark / light theme toggle #2
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Overview
Agentis currently uses a fixed dark theme defined in src/index.css via CSS custom properties (--bg, --fg, --surface, etc.).
A theme toggle would let users switch between dark and light mode and respect their OS preference.
Implementation plan
- Add a
[data-theme='light']block inindex.cssoverriding all--tokens with light equivalents - Add a toggle button to the Sidebar bottom bar (next to the
Ctrl+K agentshint) - Persist the preference in
localStorageunderagentis_theme - On mount, read the preference (or fall back to
prefers-color-scheme) and setdocument.documentElement.dataset.theme
Relevant file
src/index.css— all colour tokens are heresrc/components/Sidebar.tsx— add toggle button at the bottom
Good first issue
Pure CSS + one small React state — no backend or engine changes needed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers