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