Files
romm/frontend/scripts
Sam Dornan bcb203dc18 fix(v2): declare color-scheme with the v2 theme palettes (#4701)
v2's UA-drawn chrome currently follows Vuetify's runtime theme, which injects
`:root { color-scheme: dark }` while a dark theme is active and nothing at the
root for light. That holds only because RomM.vue keeps vuetifyTheme.change() in
sync, and v1 plus Vuetify are slated for deletion: once their stylesheet is
gone the root is undeclared again, where Chrome falls back to light chrome and
a dark v2 UI gets light form controls.

Declare the scheme next to each palette so it travels in the same scope class
the v2 tokens already own, rather than depending on a v1 framework's runtime
theme.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 12:37:34 -05:00
..