This commit is contained in:
Talon Poole 2021-02-24 18:15:32 +00:00
parent d850d73473
commit f602022f84

3
cli.js
View file

@ -81,7 +81,8 @@ const cli = yargs(process.argv.slice(2))
}, },
}); });
const css = yargs(process.argv.slice(2)).exitProcess(false).argv.css || "gmi-web.css"; const css =
yargs(process.argv.slice(2)).exitProcess(false).argv.css || "gmi-web.css";
const CSS_VARS = CSS.rootVariables(CSS.load({ css })); const CSS_VARS = CSS.rootVariables(CSS.load({ css }));
Object.keys(CSS_VARS).forEach((key) => { Object.keys(CSS_VARS).forEach((key) => {
const opt = key.replace("--", ""); const opt = key.replace("--", "");