Releases: tokens-studio/figma-plugin
Release 124
Fixed an issue with multi value tokens being disabled in the UI
Release 123
🚢🚀 Release 123 has landed!
In this release we added one of the most anticipated new tokens: the support for Asset tokens. Next to that we also improved some existing tokens by adding multi-value support for spacing and radii. In addition we've added quality of life and onboarding improvements.
The full list of released features and improvements can be found below:
🆕 Asset tokens
To make it possible to tokenize logos, backgrounds and any other image, we created Asset tokens. So far we only support public URLs and your server needs to be able to handle CORS (or you’d use a CORS proxy).
We’ll follow up in the near future with a more convenient way, but this should already provide great value. More information on how to use asset tokens can be found here.
Add support for Asset tokens #1265
🎲 Multi-value spacing and radius tokens
Write tokens like css, and apply once instead of every side on its own. Simply write your tokens like this (works with 1, 2, 3 or 4 values): 8px 4px 8px 16px.
More information on multi-value radii can be found here and more information on multi-value spacing can be found here.
Support multi-value radii and spacing tokens #110
✒️ Font family fallback support
Simply separate font families with a ,
to achieve what you can with css - allowing you to use the same definition as you’d do in code.
Font family fallback support #818
👨🎨 Style improvements
After renaming or deleting a token we ask you if you also want to change associated (via Themes) styles. There’s also a new Sync styles option in the Styles dropdown that would create, rename and delete any styles that were updated on the remote or while you were working on a different file.
Note that this feature only is enabled when used in combination with Themes (Pro), as otherwise there wouldn’t be style connections.
In the Styles Actions, add a new "Sync styles" option which renames Styles according to their connected tokens (via Themes), deletes any styles that are not referenced, and creates new styles that do not exist yet #1196
When renaming a token, ask to rename any local styles (in addition to the Remap tokens functionality we have) #1194
When deleting a token, ask to delete any local styles #1195
🆕 New and improved tokens
Add Paragraph Indent parameter to typography token #735
🤝 Onboarding
Introduce new Start screen with helpful links #1261
Introduce Onboarding modal flow #1200
😊 QoL
Changes to License key display #1293
"Create new branch from" UI issue with long branch names #1184
Fix indenting of set names #1345
Fixed an issue with fonts not applying (when not being used in combination with weight or family)
Release 122
- Fixed an issue with Bulk remap that previously made it use the UpdateMode settings, changed that to always use selection.
- Fixed an issue where Bulk remap previously only targeted the start of token names, changed that to the first occurrence in the token name.
Release 121
What's Changed
- Fixed a bug that caused some color tokens not applying
- Fixes collapsing token groups only working when clicking on the name, not the chevron
- Fixes set names being truncated under the checkbox
- Adds Semibold to the list of supported weights when using a numerical weight of 600
Release 120
From this release it is possible to bulk remap tokens via the multi inspector. We’ve also focused on improving some quality of life issues, such as being able to set numerical font weights which a lot of you requested! In addition, we’ve fixed countless bugs to improve the overall experience.
Bulk remap in Inspect
We’ve heard changing token structure is hard, so we wanted to provide you a way to change multiple applied tokens at once. Similar to Figma’s Rename functionality you’ll be able to bulk-apply different tokens to selected layers.
- Allow bulk remap #1135
Numerical font weights
We previously only allowed you to set font weights to strings such as “Bold” or “Regular”. However, most of you wanted to use numerical font weights such as 500 as this is easier to map in development. We’ve now added a way where you can do just that! As Figma doesn’t allow plugins to set numerical font weights themselves we had to find a way to work around that, so this should work for 80% of cases.
- Cannot set a number fontWeight in typography #807
Folder structure for token sets
Managing lots of token sets can be hard, so we made that easier. You can now rename token sets into folder/file structures, by giving them a name separated by a “/”. Try naming a token set “base/colors” to have nested sets.
- Support folder structure for non multi-file #1077
Sync
- Add support for multiline commit messages #1011
- After pushing to a repo, the plugin doesn’t remember the token set you were on and shows the token set on top of the list. #1068
- Theme selector gets reset to None after pull from remote #1131
QoL
- Allow descriptions to contain linebreaks #1244
- We updated our tooltips to fix some bugs and improve how they’re shown #878 & #938
- Improve how the token is shown, after unassigning a token. #1114
- After renaming a token, remember the previous choice in the ‘remap pop-up’ #1050
- Suggestion dropdown doesn’t appear for documentation tokens while changing to another token on the “Inspect” tab #1125
- Ability to collapse/expand token groups #564
- Auto-complete in token picker on Inspect tab does not work correctly #841
- We improved what tokens were suggested, when picking reference tokens #1099
Bugs
- Removing token sets sometimes fails #1275
- Fixed an issue where renaming token groups caused the reference not to be updated. #1270
- Sync bug: Single file sync doesn’t respect $metadata property #1162
- Non resolved typography/box shadow tokens are not exported correctly. #1189
- Typography Token → ignores/reorders key value for textCase, paragraphSpacing, textDecoration #1188
- Plugin doesn’t remember branch on re-open #1215
- Documentation Tokens don’t work within the Composition. #1065
- URL Sync doesn’t respect $themes or $metadata #1164
Release 119
Fixes an issue where the Recover local changes modal would sometimes not appear when it should. Fixes #1216
Version 118
Version 117
When using a custom type in JSON and you later edit that token via the UI we no longer reset token type to “Other”, but instead keep the type you had. Fixes #1202
0.116
What's Changed
- Fixes root-dir sync ("/") for GitHub. Fixes #1170
- Duplicate token now respects value changes as expected. Fixes #1165
- Adds Cmd+S / Ctrl+S keyboard shortcut to save JSON. Fixes #448
- Atomic typography tokens are now able to override decisions from typography tokens. Fixes #1084
- $metadata and $themes are now included when you use Export (for all token sets or multiple files). Fixes #1155
- Fixed a bug with Create Styles which sometimes detached styles from themes. Fixes #1192
Full Changelog: 0.115...0.116
Release 115
Fixed a bug with single file sync and sorting token sets