Repository navigation
fix(themes): tune sidebar and shell tokens for every theme - #25
Merged
Merged
Conversation
Mirrors the Next dashboard: active nav pills are visible but soft, active icons reach 3:1 on the pill and the canvas, idle nav text reaches 4.5:1, and the canvas and inset panel separate by a small, consistent lightness step. Only --sidebar-* tokens change. Sub-nav text goes from /70 to /80.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch had an error being deployed
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.
Mirrors the Next dashboard change. Tunes the sidebar and app shell colours so every theme looks right in light and dark mode, especially the active nav state.
What changed
Only
--sidebar-*tokens insrc/styles/themes/*.csschanged, so page content (cards, tables, text) is untouched. Sub-nav items inapp-sidebar.tsxgo fromtext-sidebar-foreground/70to/80.Every theme now meets the same rules:
--sidebar-primary): at least 3:1 on the pill and on the canvas.Fixes by theme
Astro Vista, Light Green, Zen (light): the active pill was invisible against the sidebar.
Notebook dark: the white pill became a muted gray one.
Claude dark, Supabase, Light Green: active icons were nearly invisible and now use a deeper or brighter shade of the theme's brand colour.
Supabase: nav text was below 4.5:1 in both modes.
Claude dark, Mono dark: pure white sidebar borders now use the theme border colour.
Vercel dark, WhatsApp light, Mono, Claude, Zen: canvas and panel separation retuned.
Deliberate exceptions