@momentum-ui/design-tokens
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -5,3 +5,3 @@ { | ||
"description": "See [documentation on Confluence](https://confluence-eng-gpk2.cisco.com/conf/display/~pauwitty/Token+proposal)", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"main": "./dist/index.css", | ||
@@ -12,2 +12,4 @@ "devDependencies": { | ||
"color-parse": "^1.4.2", | ||
"husky": "^7.0.1", | ||
"lint-staged": "^11.1.2", | ||
"lodash.merge": "^4.6.2", | ||
@@ -20,3 +22,4 @@ "rimraf": "^3.0.2" | ||
"publishNpm": "./publishNpm.sh", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"prepare": "husky install" | ||
}, | ||
@@ -39,3 +42,6 @@ "repository": { | ||
"dist/**" | ||
] | ||
], | ||
"lint-staged": { | ||
"**/*": "npx prettier --write --ignore-unknown" | ||
} | ||
} |
@@ -6,10 +6,15 @@ # token-proposal | ||
To generate a flat token file for a particular theme, run: | ||
``` | ||
node theme_generator.js <theme file> | ||
``` | ||
e.g. | ||
``` | ||
node theme_generator.js ./themes/theme-light-webex.json | ||
``` | ||
It supports some options | ||
``` | ||
@@ -39,2 +44,3 @@ Usage: /home/paul/token-proposal/theme_generator.js [OPTION]... [THEME FILE]... | ||
``` | ||
Tokens for individual components go in the components folder. If components are needed on only one platform, they should go in e.g. platformcomponents/ios/component_name.json. It's also possible to add platformcomponents/mobile/component_name.json which applies on both ios and android, or platformcomponents/desktop/component_name.json, for both macos and qt. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
336169
45
7
5819