1.0.0-alpha.13 • Published 3 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
3 years ago
1.0.0-alpha.12
3 years ago
1.0.0-alpha.11
3 years ago
1.0.0-alpha.10
3 years ago
1.0.0-alpha.9
3 years ago
1.0.0-alpha.8
3 years ago
1.0.0-alpha.7
3 years ago
1.0.0-alpha.1
3 years ago