Skip to content

refixshow/storybook-style-dictionary-example

Repository files navigation

style-dictionary

To add tokens you must generate them and paste them in env/lib/style-dictionary/tokens folder. Remember to divide different parts to seprate .json files - it can prevent some errors during compilation.

commands

npm run sd:build

this command builds your tokens, and place them in src/styles/_style_dictionary.scss file.

sum up

Sometimes figma tokens gives poor output, dealing with export config is needed and quite painfull.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published