design-system-tokens
v1.0.9
Published
Emergn design system tokens
Downloads
101
Readme
Emergn Design Tokens
Emergn design token package that is transformed and ready to use with help of Amazon's Style Dictionary.
Installation
To install, you can use npm.
$ npm install design-system-tokens
Getting Started
JS
Import tokens file into component:
import tokens from 'design-system-tokens/assets/tokens/tokens.js’;
Or use as a constant:
const tokens = require('design-system-tokens/assets/tokens/tokens');
SCSS
Import tokens:
@import 'design-system-tokens/assets/tokens/tokens';
Import fonts and typography mixins:
@import 'design-system-tokens/assets/styles/_typography';
... will be added more mixins providing efficient work with tokens in future