fundamental icon indicating copy to clipboard operation
fundamental copied to clipboard

Ops: Inject SASS variables and imports into build process

Open xak opened this issue 6 years ago • 0 comments

We have the need to build different versions of the library like a dark theme and IE 11 compatible version with CSS var fallbacks.

It would be great to automate this ...

Dark theme

Build all.scss with @import "./theme/dark";

CSS vars

Build all.scss with $fd-support-css-var-fallback: true;

Currently this has to be done either manually or with a new master, e.g., all file for each configuration.

See https://stackoverflow.com/questions/31148803/injecting-variables-during-sass-compilation-with-node

xak avatar Nov 29 '18 20:11 xak