GoogleChromeLabs / postcss-jit-props

A CSS custom property helper based on PostCSS. Supply a pool of variables and this plugin will add them to the stylesheet as they are used.
https://stackblitz.com/edit/jit-open-props?file=postcss.config.js
Apache License 2.0
210 stars 9 forks source link

Need a syntax (like `-@`) so jit-props can inject light/dark adaptive props #11

Closed argyleink closed 2 years ago

argyleink commented 2 years ago

This is so that props like shadows, can have their light/dark colors and strengths properly inserted into the stylesheet, where right now it totally ignored the dark theme props.