-
Notifications
You must be signed in to change notification settings - Fork 3
fix: active sidebar link text is invisible in docs dark theme #35
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerswebsiteAffects the marketing/docs websiteAffects the marketing/docs website
Description
Bug
The active/current page link in the Starlight docs sidebar has nearly invisible text in dark mode. The text color blends into the selection highlight background, making it unreadable.
Page: Any docs page (e.g., /getting-started/quick-start/)
Where to fix
File: website/src/styles/starlight-overrides.css
The active sidebar link uses Starlight's built-in [aria-current='page'] styling. The text color needs to be overridden to ensure contrast against the highlight background in dark mode.
Look for the sidebar link styles and ensure the active state has a visible text color (e.g., var(--sl-color-white) or #ffffff) against its background.
Acceptance Criteria
- Active sidebar link text is clearly readable in dark mode
- Non-active sidebar links remain unchanged
- Light mode (if supported) is not broken
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerswebsiteAffects the marketing/docs websiteAffects the marketing/docs website