0.3.2 • Published 3 years ago
@up42/constellation-tokens v0.3.2
Constellation Tokens
This project holds the design system tokens. We are using style-dictionary
to compile our styles into different formats.
Usage
We currently export tokens in 2 formats: scss
and json
. In order to include them in your products, you can use:
import tokens from '@up42/constellation-tokens/dist/json/tokens.json'
Or in scss
@import '@up42/constellation-tokens/dist/scss/tokens';
Also css
variables available at dist/css/tokens.css
Tokens (properties)
Tokens live under properties/
and are organized using CTI structure.
More Information
For more information please refer to style-dictionary documentation
Have a nice day.