Socket
Book a DemoInstallSign in
Socket

css-variable

Package Overview
Dependencies
Maintainers
7
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-variable

define CSS custom properties (variables) in JS

latest
Source
npmnpm
Version
8.0.0
Version published
Maintainers
7
Created
Source

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.

Keywords

css

FAQs

Package last updated on 04 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts