fix: brighten nav menu link color for readability on dark themes
Sidebar/top-bar links used --muted, which was too dim against the dark surfaces of the neon/dark/terminal themes. Mix 72% --text so menu items stay legible everywhere while inactive links remain softer than headings. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -284,7 +284,8 @@ table, .badge, input[type=number] { font-variant-numeric: tabular-nums; }
|
||||
.topnav .brand:hover { text-decoration: none; }
|
||||
.topnav .links { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
|
||||
.topnav .links a {
|
||||
color: var(--muted);
|
||||
/* brighter than --muted so menu items stay readable on dark themes */
|
||||
color: color-mix(in srgb, var(--text) 72%, var(--muted));
|
||||
padding: 7px 11px;
|
||||
border-radius: var(--radius);
|
||||
font-weight: 500;
|
||||
|
||||
Reference in New Issue
Block a user