3 ms·
Look at css-module-values [0]. It's not perfect, but it lets you share values between JS and CSS. All values in the file are visible on the imported module. [0
by TheAceOfHearts 10y ago
Look at css-module-values [0]. It's not perfect, but it lets you share values between JS and CSS. All values in the file are visible on the imported module.
[0] https://github.com/css-modules/postcss-modules-values https://github.com/css-modules/postcss-modules-values
- boubiyeah 10y agoThanks, looks handy!