Skip to content

feat(theme): listen to system color-scheme changes and persist user p…#64

Merged
arine merged 1 commit into
ui/redesign-human-resultfrom
claude/system-theme-detection-DaVQw
Mar 30, 2026
Merged

feat(theme): listen to system color-scheme changes and persist user p…#64
arine merged 1 commit into
ui/redesign-human-resultfrom
claude/system-theme-detection-DaVQw

Conversation

@arine
Copy link
Copy Markdown
Member

@arine arine commented Mar 30, 2026

…reference

  • Add matchMedia change listener so the app follows OS light/dark mode switches in real time
  • Listener is skipped when the user has already set an explicit preference via the toggle button (stored in localStorage), so manual choices are always respected
  • localStorage persistence was already in place; no behaviour change for returning users who have saved a preference

https://claude.ai/code/session_018RN2osgNx3WL7fZKjN5Pwx

…reference

- Add matchMedia change listener so the app follows OS light/dark mode
  switches in real time
- Listener is skipped when the user has already set an explicit preference
  via the toggle button (stored in localStorage), so manual choices are
  always respected
- localStorage persistence was already in place; no behaviour change for
  returning users who have saved a preference

https://claude.ai/code/session_018RN2osgNx3WL7fZKjN5Pwx
@arine arine merged commit f3bb735 into ui/redesign-human-result Mar 30, 2026
@arine arine deleted the claude/system-theme-detection-DaVQw branch March 30, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants