shakacode / sass-resources-loader

SASS resources (e.g. variables, mixins etc.) loader for Webpack. Also works with less, post-css, etc.
MIT License
982 stars 66 forks source link

How to change variables #131

Closed EnVires closed 3 years ago

EnVires commented 3 years ago

There are two themes in my project and I want to switch between them. Themes are implemented as 2 scss styles with variables image

how can i implement this?

justin808 commented 3 years ago

I don't think your question is specific to this package.

I think you either will have to switch at build time, via some Webpack magic, or at runtime by using different variable names.