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.32k stars 190 forks source link

Value in the plugin not properly updating, when importing Styles or Variables. #2930

Open rbosker opened 6 days ago

rbosker commented 6 days ago

Describe the bug Value of a token in the plugin is not properly updating, when importing Styles or Variables. The plugins shows that there are differences, but that doesn't reflect in the plugin. Once you for example toggle theme, make another change or reopen the plugin, the new imported value is visible afterwards. This is not only the color swatch for example, but also if you open the token, the old value is still present. Note: issue is present in [V 2.0-rc8] and 1.38.9

To Reproduce Steps to reproduce the behavior:

  1. Create a variable/style
  2. Import style/variable in the plugin
  3. Change the value of the style/variable and import that again in the plugin.

Expected behavior I expect for the changes to be visible instantly, without having to interact further with the plugin.

Screenshots or Screencasts https://github.com/tokens-studio/figma-plugin/assets/109062656/e0a3b737-2671-47cf-84e5-d646a52d086c