Repository navigation
docs: use the brand's dark colors in dark mode - #2
Merged
Merged
Conversation
Dark mode now takes the app's dark tokens: night for the page, the raised card color for the header and sidebar, and the lighter accent for links. Buttons and the current sidebar item fill with electric blue in both modes, and code blocks sit on the same surfaces instead of the theme's grey. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PY1z7gbTSbKghKSF1tWxKN
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 Arya · project thread
Before
Dark mode used Starlight's own grey palette, with a pale blue accent behind the current sidebar item and the main button. It didn't look like Chek.
After
Dark mode uses the dark tokens that the app and the web app share:
#0e0f15(night) for the page.#171922for the header, the sidebar and code blocks.#262937for borders.#7d93fffor links.The main button and the current sidebar item are filled with electric blue
#2448e8and paper text in both modes, like the app's buttons. Code blocks sit on the brand's surfaces in both modes instead of the code theme's grey. Light mode gets the same greys and hairlines as the web app.How
src/styles/brand.cssare set fromapp/web/src/styles.css..sl-link-button.primaryand the current sidebar link.--ec-*variables are overridden in CSS. Setting them throughstyleOverridesinastro.config.tsbroke the code blocks thatstarlight-openapirenders.Checks
bun run check,bun run lint,bun run format:checkandbun run buildpassGenerated by Claude Code