Closed appinteractive closed 5 years ago
The only "simple" option that pops to my mind right now would be to do this depending on an environment variable.
Depending on its value we could then either prepend tokens.scss or tokens-dark.scss to shared.scss via webpacks sass-loader.
But that would not happen on production I think!?
In current master you find the option to add themes by simply creating a subfolder in the tokens folder. While this is not documented yet, it is pretty self explaining. Happy theming 😄
@visualjerk Is there a way that the components could easily switch to dark mode without the need to dublicate the whole styleguide?