@koobiq/tokens-builder v3.7.3
Tokens Builder
Overview
Tokens builder is a configuration script that utilizes Style Dictionary, a design-token platform for creating and maintaining consistent design tokens across various platforms.
Overall, this script orchestrates the generation of design tokens by applying custom transformations, filters, and formats to the specified theme configuration for multiple platforms, facilitating a streamlined design token workflow compatible with various output formats like SCSS, CSS, and TypeScript.
Typography composite tokens
Tokens builder supports usage of composite tokens for CSS platform. For now, typography token sets are supported.
Example of usage
{
"<component-name>": {
"font": {
"type": "font",
"<token-with-composite-token-reference>": "{typography.<typography-set>}"
}
}
}
where <typography-set>
is a set from @koobiq/design-tokens/web/properties/typography.json5
"type": "font" property is required.
output:
--kbq-<component-name>-font-<token-with-composite-token-reference>-font-size: <value>;
--kbq-<component-name>-font-<token-with-composite-token-reference>-font-weight: <value>;
--kbq-<component-name>-font-<token-with-composite-token-reference>-line-height: <value>;
--kbq-<component-name>-font-<token-with-composite-token-reference>-font-family: <value>;
// ...etc
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
11 months ago
10 months ago
11 months ago
10 months ago
11 months ago
11 months ago
10 months ago
11 months ago
11 months ago
1 year ago
1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago