Token Sets (Themes)
With Version 36 Token sets (themes) are introduced!
You can now split your tokens up into multiple sets, or themes.
Splitting tokens up has many benefits:
- Allow you to split up options and decisions
- Gives you the ability to semantically seperate tokens
- Different sets can be exposed by activating only what you need
You can create a new set by clicking the + near your existing sets. Enter a unique name.
Click on the token set (not the checkbox) to switch editor context to this new set
Right-click a set to display rename and delete options.
By ticking the checkbox you activate this set, meaning these tokens will get exposed to Figma. If you have multiple sets (e.g. a light and a dark theme) you can overwrite decisions that may have been defined in another set.
You can drag sets around to define their order. All active token sets get exposed and merged into one big token set, if some tokens have the exact same name and path, the latter one wins (e.g. if colors.foreground exists in both a light and a dark theme, the one thats visible later in the set list wins)