diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-07-17 22:39:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-17 22:39:25 -0400 |
commit | e1230c7934084e1748e70e88b98f67e05cf0cf11 (patch) | |
tree | e551d98827ee1977538d6b5fd402050459718361 /dev/css-to-json-util.js | |
parent | fafa746a632b1907d9cca262f689d7bec4e0f940 (diff) |
CSS JSON styles generalization (#1838)
* Rename files
* Generalize custom CSS generation and testing
* Add CSS JSON file for display pronunciation
Diffstat (limited to 'dev/css-to-json-util.js')
-rw-r--r-- | dev/css-to-json-util.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/css-to-json-util.js b/dev/css-to-json-util.js index bdcac65b..d8577c8f 100644 --- a/dev/css-to-json-util.js +++ b/dev/css-to-json-util.js @@ -84,9 +84,9 @@ function formatRulesJson(rules) { return result; } -function generateRules(cssFile, cssFileOverrides) { +function generateRules(cssFile, overridesCssFile) { const content1 = fs.readFileSync(cssFile, {encoding: 'utf8'}); - const content2 = fs.readFileSync(cssFileOverrides, {encoding: 'utf8'}); + const content2 = fs.readFileSync(overridesCssFile, {encoding: 'utf8'}); const stylesheet1 = css.parse(content1, {}).stylesheet; const stylesheet2 = css.parse(content2, {}).stylesheet; |