css-variable
TypeScript icon, indicating that this package has built-in type declarations

6.0.0 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.10.3-preview.00preview
6.0.03,001latest

Version History

VersionDownloads (Last 7 Days)Published
6.0.03,001
5.0.115
4.0.328
5.0.00
4.0.20
4.0.10
4.0.00
3.10.3-preview.00
3.10.2943
3.10.111
3.10.00
3.9.10
3.9.00
3.8.00
3.7.00
3.6.20
3.6.10
3.6.00
3.5.00
3.4.01
3.3.02
3.2.00
3.1.04
3.0.01
2.0.00
1.0.111
1.0.00

Package Sidebar

Install

npm i css-variable

Weekly Downloads

4,017

Version

6.0.0

License

MIT

Unpacked Size

1.55 MB

Total Files

12

Last publish

Collaborators

  • jantimon
  • johno
  • jaggli
  • martindisch
  • christinaheidt
  • devbrains