1.0.9 • Published 3 years ago
design-system-tokens v1.0.9
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:
```css @import 'design-system-tokens/assets/tokens/tokens'; ```
Import fonts and typography mixins:
```css @import 'design-system-tokens/assets/styles/_typography'; ```
... will be added more mixins providing efficient work with tokens in future