css-variable
v5.0.1
Published
define CSS custom properties (variables) in JS
Downloads
1,323
Keywords
Readme
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.