mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
feat(nav): selected sheet appearance options carry the theme accent
.mobile-menu-icon-option.active gains color: var(--accent), so the sheet's Language and Mode glyphs follow data-theme/data-palette the way the bar's .nav-control.open already does. Palette dots paint their own --preview-*-accent and are unchanged; :hover keeps its fill-only behaviour. Recorded as Q19 in spec-v3-mobile-navigation.md.
This commit is contained in:
1 parent
be9dec8579
commit
924a50cade
2 files changed
+7
No files matched your search
@@ -295,9 +295,14 @@
|
||||
background: var(--bg-elevated);
|
||||
}
|
||||
|
||||
/* Every glyph in the sheet is `currentColor` line art — the globe/flag, the moon/sun — so the
|
||||
selected option carries the theme's accent exactly as the bar's `.nav-control.open` does, and
|
||||
the colour follows `data-theme` + `data-palette` the way the border already does. The Theme
|
||||
color dots paint their own `--preview-*-accent` background, so they are unaffected. */
|
||||
.mobile-menu-icon-option.active {
|
||||
border-color: var(--accent);
|
||||
background: var(--bg-elevated);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.mobile-menu-icon-option:focus-visible {
|
||||
|
||||
Reference in new issue
Block a user