Repository navigation
docs(website): readable mobile sidebar & TOC (dark-on-dark) - #82
Merged
Merged
Conversation
Starlight uses --sl-color-black as the background for the mobile sidebar pane and mobile TOC dropdown. The token was aliased to --alc-fg-1 (dark walnut), producing dark walnut text on a dark walnut panel. Map it to --alc-bg-nav so mobile menus render readable parchment. Made-with: Cursor
sam-goodwin
force-pushed
the
cursor/ec61472d
branch
from
April 22, 2026 06:52
3e10a5f to
4936c06
Compare
sam-goodwin
marked this pull request as ready for review
April 22, 2026 06:54
sam-goodwin
added a commit
that referenced
this pull request
Aug 4, 2026
Co-Authored-By: Claude Fable 5 <[email protected]>
DavidJFelix
pushed a commit
to DavidJFelix/alchemy-effect
that referenced
this pull request
Aug 7, 2026
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.
Summary
data-theme=\"dark\"and remaps Starlight's color tokens to the parchment palette. Both--sl-color-whiteand--sl-color-blackwere aliased to--alc-fg-1(dark walnut).--sl-color-blackas the background of the mobile sidebar pane and mobile "On this page" TOC dropdown, so those panels rendered as dark walnut text on a dark walnut surface (unreadable on mobile, fine on desktop).--sl-color-blackto--alc-bg-nav(lightest nav surface) and leave--sl-color-whiteas--alc-fg-1(darkest text). Added a comment explaining the trap so it doesn't regress.Test plan
bun run dev:siteand load/getting-startedat mobile width (≤640px)--sl-color-bg-sidebar, already mapped correctly)Made with Cursor