find-css-vars

0.1.0 • Public • Published

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"
}

Readme

Keywords

none

Package Sidebar

Install

npm i find-css-vars

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

147 kB

Total Files

9

Last publish

Collaborators

  • will.bamford