1.0.0-alpha.13 • Published 4 years ago
@wuerthcs/design-token v1.0.0-alpha.13
Würth Cloud Services - Design Tokens
Installation
You can install the design tokens via NPM or yarn.
npm install @wuerthcs/design-token --save
Usage
You can find all design token files in the @wuerthcs/design-token/dist folder. For example in Typescript you could work with the tokens like this:
Javascript
import tokens from '@wuerthcs/design-token/dist/variables.json';
console.log(tokens.color.light.font.base);
CSS
@import "node_modules/@wuerthcs/design-token/dist/variables.css";
body {
font-size: var(--SizeFontLg);
line-height: var(--SizeLineHeightLg);
}
Maintainers
TBD
License
TBD
1.0.0-alpha.13
4 years ago
1.0.0-alpha.12
4 years ago
1.0.0-alpha.11
4 years ago
1.0.0-alpha.10
4 years ago
1.0.0-alpha.9
4 years ago
1.0.0-alpha.8
4 years ago
1.0.0-alpha.7
4 years ago
1.0.0-alpha.1
4 years ago