GitHub - devbrains-com/css-variable: Define CSSVariables in JS

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Repository files navigation

css-variable

npm e2e test npm bundle size npm type definitions NPM

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

http://css-variable.js.org

License

Licensed under MIT
Crafted with <3 @jantimon

Special thanks to @4alpine for donating the package name.

About

Define CSSVariables in JS

Resources

Readme

License

MIT license

Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks

Languages

  • JavaScript 42.8%
  • Rust 37.6%
  • TypeScript 19.6%