Subscribe to weekly automations
Discover new automations in your inbox.
This Automation allows you to read design tokens stored on a document with the Figma Tokens plugin and creates living documentation layers for you. It takes a template layer as a selection, asks you which token set and what token groups you'd like to use. It then creates layers based on this template layer, sets token data in the sharedPluginData space so the Figma Tokens plugin can later on pick those up again. Create template layers that match any token property with two underscores so the plugin will pick it up: __fill __value __tokenName __tokenValue And basically any other property that Figma Tokens supports. For example, if you have "global", "light", "dark" token sets defined in Figma Tokens and you'd want to create a documentation for the "light" set for every token name that starts with "colors", you'd input "light" followed by "colors", have the template layer selected and then run the automation.
Discover new automations in your inbox.