1.0.9 • Published 3 years ago

design-system-tokens v1.0.9

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

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

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago