September 11th 2024

2.1.0

😍 Theming is less strict again

  • We heard your feedback on theming and creating styles. 2.0 made theming much stricter, where you had to have token sets defined as references for each and every theme. We now optimized this to be more forgiving. Basically, if you export themes and you are exporting multiple themes at once, we now look at the overall configuration of token sets and pass these on as tokens to use for resolution. Meaning, you should not run into issues where you have broken references anymore just because a token set was disabled in on theme configuration even though you needed it. We now treat non-enabled sets as sources still - but they come last meaning enabled or source sets will always win. - 0bc599e

🐛 Fixes around style and variable creation

  • Fixes issue where styles are not applied in Figma, when user creates styles based on Token Sets - e1838a3

  • Fixed an issue around style creation where if numerical weights were used inside a created variable we'd display an error that we're unable to apply the font. We now changed this to properly load all weights of the font family and then create styles correctly with variable references to the numerical weight variable. You should be seeing 'Unable to apply font/weight combination' much less. - 087b4c1

  • Changed logic when "Remove styles and variables without connection to a token" is enabled where we now look at all created tokens in this session and remove those that should be removed, instead of looking at each theme individually and removing those that weren't created. You should be able to turn this on and it wont remove styles by accident. - 2c60963

  • Fixes style creation if color token was using a modifier and using a reference. We now correctly create a raw hex value as Figma doesn't have modifiers. Before we falsely used a reference without the modifier applied leading to styles that had a reference variable even though it should've respected the modifier - 087b4c1

  • Optimized the speed of importing variables. Importing should now feel drastically faster. If you're using Tokens Studio platform sync (Alpha), import variables will currently not work - we're bringing this back soon. - 8f97ea6

🐛 Other bugfixes and changes

  • Add missing padding to list of token sets in Export Token Sets Tab - a81b9a9

  • Added logic to prevent falsly errors from displaying when pushing to GitLab and ADO - fd68d5a

  • Raises limit for tokens in Tokens Studio sync to 3000 tokens per set - 417df53