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
feat(v0.16.0): light / dark theme toggle
Add a ☀/☾ button in the TopBar that flips between dark (existing) and
light themes. Choice is persisted to localStorage and applied via a
data-theme attribute on <html> at mount.
Approach is var-based rather than a full per-component refactor:
- src/index.css declares semantic CSS vars for bg / text / border under
[data-theme=dark] (default) and [data-theme=light]
- root + body bg+color and scrollbar thumb pull from the vars
- a light-mode override block at the bottom of index.css remaps the
existing hardcoded dark Tailwind classes (bg-[#0b0d10], text-white/...,
border-white/..., bg-white/[0.04], hover:bg-white/...) to light-mode
equivalents so every existing component renders sensibly without
code changes
This keeps the change surface minimal. Subtle accent colors (emerald,
amber, rose) keep their hue in both themes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>