Skip to content

willbamford/find-css-vars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Find CSS Vars

CLI script to find all the (:root) CSS Variables in a given CSS file.

find-css-vars ./my.css [./output.json]

Note the output path is optional.

Example output:

{
  "--blue": "#007bff",
  "--indigo": "#6610f2"
}

About

CLI tool to find CSS variables in a given CSS file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published