githubEdit

Multi-dimensional Theming


Transforming Themes for use in Code

As soon as your Token project includes Themes, there are JSON files created by the plugin to save your configuration data so it can be shared with developers. Once developers have the new Themes files in your external storage provider, they can use that data in their transformation process to turn the themes file into usable code.

Engineers typically transform Tokens used in code with Style Dictionaryarrow-up-right, which is tool-agnostic. Tokens coming from Tokens Studio require an additional step: @Tokens-studio/sd-transformsarrow-up-right, an npm package that prepares Tokens for Style Dictionary.

SD-Transforms generic package includes a specific transforms to convert Tokens Studio themes into individual theme files for all possible permutations

SD-Transforms Read-Me Doc, Themingarrow-up-right

Plugin Sync Settings

If this is the first time you are working with Themes in your project, theres a couple things you'll want to do in the Plugin Settings make the transformation process as simple as possible:


Resources

Mentioned in this Guide

Community resources:

  • None yet!

💡 Something to share? Submit it here!arrow-up-right

Known issues and bugs

Tokens Studio Plugin GitHub - Open issues for Themesarrow-up-right

🐞 If you are experiencing an issue not listed here, please reach out to us on the Troubleshooting channel of our community Slackarrow-up-right, submit it on our feedback toolarrow-up-right, or send us an email [email protected]

Requests, roadmap and changelog

  • None

💌 Visit https://feedback.tokens.studio/ arrow-up-rightto contribute or subscribe to updates.

Last updated

Was this helpful?