Skip to content

Releases: tokens-studio/figma-plugin

Release 114

13 Aug 21:37
Compare
Choose a tag to compare

Non local styles (Pro)

When creating or importing styles we now keep the connection between a token in a theme and a created style in Figma. That way you're able to apply Styles instead of raw hex values when using the plugin in files where those styles are not defined.

You can connect styles to tokens by having Themes created, then whenever you Create styles, Import styles we will store that style id with the currently active theme. You can also attach existing styles to themes manually in the Manage themes modal.

Whenever you apply a color token in a file where that style is not defined, we will then no longer apply the raw hex value, but instead apply the color style directly. Remember to push your changes to your sync provider first, as we store this style connection in the $themes.json file (or $themes property if using single file sync)

There's also an option in Settings allowing you to prepend the theme name in front of the token name when creating styles. That way you can have multiple themes defined in one style library.

Read more

Export improvements

  • You can now export multiple files to a .zip file, allowing a full flow of import/export using multiple files.
  • Added support to expand composition tokens in Export.

Sync improvements

  • Multi file sync now correctly stores token set sort order. We added a $metadata.json file to keep track of that sort order (which will also be where future configuration will be stored).
  • GitLab self-hosted is now supported for users that were not using groups.
  • You can now delete the active sync setting, not just inactive ones.
  • Fixed an issue with multi-file sync and read-only access.

Other QoL improvements

  • You can now define types at a group level - a first step towards better w3c draft compliance. Read more
  • Changed token name validation to include token group names.
  • Removing a individual borderWidth token now properly removes the applied Figma property.
  • Changed copy of Restore local changes to better address user feedback.
  • After duplicating a token you're now taken directly to the edit form.
  • Tokens displayed in Annotate will now reflect a more reliant sort order.
  • You can now select which types of styles to create when using Create styles.
  • When importing styles any references created are now using the { syntax, no longer the $ syntax.
  • Tokens named value will now properly work.
  • Added a branch name validation to the branch creation modal.
  • Remapping is now pre-populated with the token that is about to be changed.
  • Applying tokens using the right-click context menu now keeps that menu open to allow easier application of more properties.
  • When editing a token that token is now hidden from autocomplete.
  • Token values are now trimmed on input.
  • Added better placeholders for typography input fields.
  • When applying a spacing token to an auto layout frame that was set to gap: "Auto" in Figma, we now properly apply the spacing token.

Bugfixes

  • You can now collapse/expand all token categories at once again.
  • Fixed a bug that caused a token set to be deleted when deleting a token group of certain name.
  • Shadow tokens now correctly remember the show behind transparent areas setting of a style. This is not part of a token but we'll respect prior decisions on the style.
  • Fixes plugin crashing when pointing to a typography token in a non-typography token.
  • Fixes a bug with GitLab accounts that have a large amount of projects which made it impossible to add them.
  • Fixes a bug that broke removing token descriptions.

Release 113

21 Jul 06:26
Compare
Choose a tag to compare
  • Fixes an issue with GitLab multi-file push for enterprise servers. Fixes #1018
  • Fixes an issue renaming a token group affecting token groups in other sets. Fixes #1006
  • Fixes an issue for URL sync. Fixes #964

Release 112

09 Jul 10:03
Compare
Choose a tag to compare

Changes to Pro

  • Exposes Pro features in a read-only mode for Free users:
    • Theme manager allows changing themes, but not editing
    • Read from repositories with multi-file sync, but not push
    • See which branch you're on in the branch switcher, but not make the switch

Improved tokens

  • Adds support for Figma's new individual stroke widths. Fixes #836
  • Adds autocomplete to composition tokens

Sync

  • Adds support for root-level git storage (e.g. storing tokens in the "/" directory). Fixes #822
  • When using multi file sync, renaming token sets now correctly renames the file
  • When using multi file sync, deleting a token set now correctly deletes the file

Quality of life improvements

  • Switching between token sets now remembers the last scroll position. Fixes #796
  • Adds support to load a single .json file or multiple multiple files. Fixes #599
  • Removing tokens from multiple selected layers is now supported. Fixes #826
  • Branch picker now scrolls when more than a certain number of branches are present.

Fixes

  • Fixes composition tokens not picking up values of 0. Fixes #951
  • Fixes scrollbar color. Fixes #930
  • Fixes issue where URL sync providers got duplicated.
  • Fixes an issue where documentation tokens with value 0 couldn't be applied. Fixes #888
  • Fixes an issue with autocomplete where tokens that were using a number wouldn't show up (e.g. spacing or radii)
  • Fixes an issue with Azure Devops Sync where it would sometimes pull from the main branch. Fixes #948

Release 111

24 Jun 22:16
3286f5f
Compare
Choose a tag to compare

What's Changed

  • Fixes a bug with duplicating token sets which caused them to be empty
  • Fixes autocomplete for chinese inputs
  • Adds test coverage for ADO
  • Fixes subfolder issue for GitLab. #912
  • Fixes multi file sync for ADO. #879

Full Changelog: 0.109...0.111

Release 109

11 Jun 22:02
79f6bfb
Compare
Choose a tag to compare
  • Fixes URL storage when no headers were present
  • Fixes themes object containing remnants of old removed sets if changed via git

Release 102

04 Jun 01:20
07bd216
Compare
Choose a tag to compare

What's Changed

  • [Pro]: Add composition tokens. Fixes #473
  • Added Azure Devops sync. Fixes #494
  • Add token picker to more inputs
  • Duplicate token group. Fixes #515
  • Rename token group. Fixes #516
  • Remapping a token now updates canvas. Fixes #804
  • Added a local storage for Git so you can restore local changes. Fixes #801, #746, #353

Fixes:

  • Pushing to GitHub now no longer resets token sets. Fixes #780, #713, #468
  • Fixed wrong input in color picker. Fixes #766
  • GitHub Enterprise sync settings now get correct pull request URLs. Fixes #725 - first contribution by @zslabs 🎉
  • We now show alias values in token tooltips again. Fixes #718
  • Shadow tokens can now be sorted again. Fixes #585

Behind the scenes:

  • Made the plugin type-safe, improving developer experience

Release 101

04 Jun 01:19
Compare
Choose a tag to compare

Just a minor hotfix

Version 100

23 May 16:32
Compare
Choose a tag to compare
  • Changed beta/pro validation

Full Changelog: 0.99...0.100

Version 99

23 May 16:31
2321c92
Compare
Choose a tag to compare

What's Changed

  • Fixed a bug with GitHub sync blue dot to notify when there's uncommitted changes
  • Fixed a bug with descriptions stored on JSONBin.io

Full Changelog: 0.98...0.99

Version 98

12 May 19:48
c3ad1b6
Compare
Choose a tag to compare
  • Fixed a coloring issue in light mode