intuit / postcss-themed

A PostCSS plugin for generating themes.
MIT License
62 stars 32 forks source link

Fix color scheme overrides #4

Closed adierkens closed 4 years ago

adierkens commented 4 years ago

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).

hipstersmoothie commented 4 years ago

:rocket: PR was released in v1.0.1 :rocket: