CSS Custom Properties
This template is dedicated for Web developers using CSS. It helps you generate all types of design tokens as CSS Custom Properties in their respective CSS file.
This example uses four different parsers:
filter to target on a specific collection named "Colors" that contains our colors
convert-color to convert our colors in HSL
change-case to change the name of our tokens and modes to kebabCase
to-css-custom-properties to generate a CSS file containing our tokens
This template is an example among others. Head toward the to-css-custom-properties page to get all available options.
CLI configuration
When using the CLI, you need to fill three properties:
repository
is@organization/repository
personalAccessToken
which you can generate in your account settingsrules
lets you transform tokens by chaining parsers
GitHub configuration
If you use the GitHub, you need to fill two properties:
repository
is@organization/repository
rules
lets you transform tokens by chaining parsers
Make sure you have connected your GitHub account with your Specify account. Head toward this article to learn more.
Last updated