Style Dictionary

An open-source build tool that reads design token files and generates code for each platform, such as CSS, TypeScript, Swift and Android resources.

In more detail

You configure platforms, and for each platform a list of transforms and a formatter. Style Dictionary reads the token JSON, runs every token through the transforms, then hands the whole set to the formatter, which writes the output file. Running it in continuous integration keeps every platform in step with the token source.

Related terms

Taught in

References