This package has been deprecated

Author message:

As of SLDS 2.2.0, design tokens are part of the @salesforce-ux/design-system package

@salesforce-ux/design-tokens

3.8.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @salesforce-ux/design-tokens

Weekly Downloads

1

Version

3.8.0

License

none

Last publish

Collaborators

  • salesforce-ux