css-variable
Tiny ( ~0.3 kb ) treeshakable library to define CSS custom properties (variables) in JS.
Compatible with 👩🎤 Emotion / 💅 StyledComponents / Linaria and similar CSS-in-JS solutions.
Install
npm i css-variable
Docs
License
Licensed under MIT
Crafted with <3 @jantimon
Special thanks to @4alpine for donating the package name.