-
-
Notifications
You must be signed in to change notification settings - Fork 218
Description
Describe the bug
After importing color styles from Figma into the plugin, the styles fail to attach to the active themes. When checking the themes dropdown menu, no color styles are listed as connected. Furthermore, inspecting the $themes.json file reveals that the expected $figmaStyleReferences entries are missing, indicating the link between the token and the Figma style was never established during import.
Use-case
This bug is quite a blocker for us, as we can't work around it (the files we need to import from have been made without Tokens Studio, as PrimeNG moved away from Tokens Studio to Figma variables).
To Reproduce
Steps to reproduce the behavior:
- Create or have existing color styles in the Figma file
- Go to the 'Styles' tab or Import section in the plugin.
- Click on 'Import Styles'
- Open the 'Themes' dropdown menu.
- Observe that no color styles are attached/visible for the themes.
- Check
$themes.jsonand see that$figmaStyleReferencesis empty or missing for those tokens.
Expected behavior
When color styles are imported, they should automatically be recognized and attached to the relevant themes. The $themes.json should update to include valid $figmaStyleReferences, ensuring the plugin knows which Figma style corresponds to which token.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status