@salesforce-ux/design-tokens v3.8.0
Salesforce Design Tokens
⚠️ This repository and the corresponding npm package are deprecated as of Spring ’17
Design Tokens for colors, spacing, font, etc.
Quick start
Using git: clone the repository and generate tokens for your application (see Generate Design Tokens).
Using npm (recommended):
npm install @salesforce-ux/design-tokens --save
Internal version
Access the latest, freshest tokens as an npm package:
npm install "salesforce-ux/design-tokens-internal#<version>" --save
Where <version>
is a git tag starting with v
(e.g. npm install "salesforce-ux/design-tokens-internal#v2.0.5" --save
).
Setup
npm install
Generate Design Tokens
npm run tokens
View the ./dist
directory for the generated output
Contributing
npm run lint
checks *.js files against the JavaSript Standard Style
npm run lint -- --fix
should fix most code style errors and warnings.
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago