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:
dong.nguyen committed 2026-10-21 00:01:01 +07:00
1 parent be9dec8579
commit 924a50cade
2 files changed
+7

No files matched your search

+5
View File
@@ -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 {