tokens-studio / figma-plugin

Official repository of the plugin 'Tokens Studio for Figma' (Figma Tokens)
https://www.figma.com/community/plugin/843461159747178978
MIT License
1.33k stars 191 forks source link

Plugin crash when no unit on dimension token #2956

Closed macintoshhelper closed 1 week ago

macintoshhelper commented 2 weeks ago

Describe the bug

Plugin crashes when no unit is specified on a dimension token

To Reproduce Steps to reproduce the behavior:

  1. Create a dimension token
  2. Do not add a unit
  3. Edit the title to reset the error state
  4. Click on the Create button

The plugin goes totally blank and you must restart to get it working again.

The token was not created

Expected behavior

Should not crash and token should be created

Screenshots or Screencasts