Skip to content

Releases: lukasoppermann/design-tokens

📦 New feature: support for variants and groups

01 Apr 19:29
Compare
Choose a tag to compare

Breaking Change (likelihood low)

The update is a potential breaking change as items that have a valid token name and were not exported due to being within a group will ow be exported.

Features

  • supporting variants (name is derived from the main variant name combined with all property names)
    • prefix a property with a _ (underscore) to let the plugin ignore it for tokens
  • tokens that are nested within group are now exported
  • tokens that are nested within frames are now exported

🎉 Complete UI rewrite to use webpack

27 Mar 11:14
Compare
Choose a tag to compare

Using webpack

This allows us to extract the UI JS into individual modules.

Show better errors when send to server fails

This update also fixes #72 and now the plugin shows different errors depending on the response from github (server) when sending tokens.
Details about the errors was added to the readme error section

Even though it is a major update due to the code change, it should not break anything in the code export part.

Fix: Remove comments instead of using null

26 Mar 12:25
Compare
Choose a tag to compare
v2.1.3

remove comments instead of using null

Added error messages for wrong token names

23 Mar 08:44
Compare
Choose a tag to compare

If the user chooses a token name that results into an invalid value when run through the name conversion, an error message will be shown in figma.

Fix: UX copy

18 Mar 21:11
Compare
Choose a tag to compare
v2.1.1

ux fix

🎉 New Feature: Name Conversion

13 Mar 10:56
Compare
Choose a tag to compare

Feature release:

New option Name Conversion available in settings.
The option allows the user to choose between default, camelCase and kebab-case for the conversion of the token names when creating the json file.

Improved font style export

03 Feb 08:05
Compare
Choose a tag to compare

New feature

Breaking change

  • the old fontStyle value was replaced with the new one (one of the three values italic, oblique or normal)

This fixes #55 by introducing a lookup table and splitting font style into weight, style and stretch

📏 Spacing tokens

07 Jan 08:19
Compare
Choose a tag to compare
  • you can now create spacing tokens using the auto layoutfeature

🏎 Motion Tokens

18 Dec 13:40
Compare
Choose a tag to compare

Feature

  • You can now add motion tokens, read more in the docs

Improvements

  • Added more tests to keep code quality high

Adding tests for extractors & some bugfixes

23 Nov 07:51
Compare
Choose a tag to compare

Changes:

  • added tests for all extractors

Breaking Changes:
strokeMiterAngle → strokeMiterLimit (bugfix)

Fixes:

  • added category to border to borders
  • added type string to pattern: grid
  • added category to font to fonts