feat: add light mode to web dashboard - #67
Merged
Conversation
Adds a sepia-parchment light theme alongside the existing Coco Orange Phosphor dark theme so users on light-mode systems aren't blasted with cream-on-near-black. Theme follows OS preference on first visit, then persists user choice in localStorage. Coverage is end-to-end: CSS variables, Prism syntax highlighting, Chart.js colors, log category colors, and the tab favicon all switch atomically on toggle, with a FOUC-prevention inline script in <head> to avoid a flash of dark content during boot. CRT scanline + vignette effects are disabled in light mode (they look muddy on a cream background). Dark mode is byte-for-byte unchanged for users who never toggle. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a sepia-parchment light theme alongside the existing Coco Orange Phosphor dark theme so users on light-mode systems aren't blasted with cream-on-near-black. Theme follows OS preference on first visit, then persists user choice in localStorage. Coverage is end-to-end: CSS variables, Prism syntax highlighting, Chart.js colors, log category colors, and the tab favicon all switch atomically on toggle, with a FOUC-prevention inline script in to avoid a flash of dark content during boot.
CRT scanline + vignette effects are disabled in light mode (they look muddy on a cream background). Dark mode is byte-for-byte unchanged for users who never toggle.