Renaming Tokens in Tokens Studio Does Not Remap or Rename Local Variables in Document when exporting as Sets #3193
Labels
bug
Something isn't working
Figma export - sets
Figma variables
needs-responder
rename token remap
setting export update existing name
Describe the bug
When tokens are exported to Figma based on
sets
, renaming a token in Plugin and selectingRename variables in the Document
in theRemap all tokens that use tokens
modal does not rename or remap local variables as expected. Furthermore, exporting styles and variables to Figma removes previously named variables and adds new ones, which breaks references to the original setup. However, this process works correctly when styles and variables are created based on themes.Note: remapping and renaming does work properly when exporting using themes
To Reproduce
Steps to reproduce the behavior:
sets
document
andrename variables
options in theRemap all tokens that use tokens in
modelExpected behavior
Renaming a token and selecting “Rename variables in the Document” should rename and remap local variables accordingly. Exporting to Figma should update the variable names without removing or breaking references to existing variables.
Screenshots or Screencasts
Screen.Recording.2024-10-30.at.4.19.23.PM.mov
The text was updated successfully, but these errors were encountered: