Skip to content

devbrains-com/css-variable

This branch is 18 commits behind jantimon/css-variable:main.

Folders and files

NameName
Last commit message
Last commit date
May 17, 2024
Oct 15, 2024
Jan 15, 2023
Dec 9, 2024
Oct 1, 2021
Dec 17, 2024
Oct 16, 2024
May 20, 2024
Dec 10, 2024
Sep 22, 2021
Oct 15, 2024
Oct 15, 2024
Oct 15, 2024
Sep 12, 2021
Dec 10, 2024
Oct 15, 2024

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages

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