fix css options
This commit is contained in:
parent
15f3538fe8
commit
74e84ec769
2
cli.js
2
cli.js
|
@ -82,7 +82,7 @@ const cli = yargs(process.argv.slice(2))
|
|||
});
|
||||
|
||||
// TODO: checks for any .css arg, instead of parsing --css
|
||||
const css = process.argv.find(arg => /\.css$/.test(arg)) || "gmi-web.css"
|
||||
const css = process.argv.find((arg) => /\.css$/.test(arg)) || "gmi-web.css";
|
||||
const CSS_VARS = CSS.rootVariables(CSS.load({ css }));
|
||||
Object.keys(CSS_VARS).forEach((key) => {
|
||||
const opt = key.replace("--", "");
|
||||
|
|
Loading…
Reference in a new issue