Repository navigation
Web: dark mode with a choice of dark themes - #9
Merged
Merged
Conversation
Appearance menu in every header: Light, Dark or System, plus six dark themes (Violet, Indigo, Orchid, Ocean, Ember, Emerald). All share the reference look: near-black to colour gradient cards with a diagonal sheen, white text, pill badges, rounded white buttons, DM Sans with 16px titles and 15px body text. The choice is kept in the browser and applied before first paint. Light mode is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gtfjmff2sRHjVTcLRGeaCY
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.
Requested by Tausif · project thread
Stacked on
phase-6/telephony(#8). Retarget tomainonce the phase stack merges.What
How
src/app/theme.css: everything scoped tohtml[data-mode="dark"]; remaps the Tailwind utilities the app uses, so no page needed per-page dark classes.src/lib/theme.ts: theme list and boot script.src/components/theme-picker.tsx: the menu.ui.tsx: hook classes added to Button, Card, Badge, FormError, Notice (no visual change in light).@fontsource-variable/dm-sans@5.3.0, so the CSPfont-src 'self'still holds.Checks
pnpm typecheckandpnpm lintpass.Generated by Claude Code