figma-plugin
figma-plugin copied to clipboard
'Remove styles and variables without connection to a token' Option Enabled Does not Create Variables
Describe the bug
Since the release of 2.0, we've seen a lot of users have the export option Remove styles and variables without connection to a token
enabled at all times which results in creation of no variables.
To Reproduce Steps to reproduce the behavior:
- Create tokens in two different
sets
- Group both these
sets
as themes under onetheme-group
- Export as Variables without any export options enabled
- Add a new token to one of the sets
- Enable
Remove styles and variables without connection to a token
and export - See error
- Disable the option and export again
- Variables are exported
Expected behavior Not sure about this as the result of having this option enabled may also be expected behaviour
Screenshots or Screencasts https://github.com/user-attachments/assets/ff611f63-c5fe-4d9c-a029-4321219c38da
Figma file (optional) Test file