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

2.0: Style creation can become stuck if theme only has `references` and no active token sets #2896

Closed six7 closed 2 days ago

six7 commented 2 weeks ago

When creating styles we end up in a endless loading state when sets used in the themes are not active but disabled or reference only.

To reproduce:

Expected: Do not get stuck on style creation Actual: Style creation spinner goes on forever

Bonus: Can we adjust the error message if the reason for it was not that no themes were active but that inside there weren't any sets active? No styles created. Make sure some sets are active

Image