When a non-default theme is trying to override the color value of a default dark/light theme, the generated classnames to set the css var are wrong.
Since the assumption is that the color-scheme class and the theme class are all on the same element, they need to use a single selector, not the nested one (the space in the current output).
When a non-default theme is trying to override the color value of a default
dark
/light
theme, the generated classnames to set the css var are wrong.Since the assumption is that the
color-scheme
class and thetheme
class are all on the same element, they need to use a single selector, not the nested one (the space in the current output).