Editing a colour token to include a modifier doesn't update the figma variable on export (as Sets) #3209
Labels
bug
Something isn't working
Figma export - sets
Figma variables
needs-responder
token type color modifier
Describe the bug
We have colour tokens in a project which are exported to Figma Variables. There are no colour modifers on these tokens, so in Figma Variables they are correctly stored as references.
If we edit the colour token in Token Studio and add a color modifier like lighten, then on exporting to Figma again, the variable does not update.
It sounds there's a similar issue open already which might be related (#3208), however our behaviour is slightly different; You'll notice in our screen cap attached that we can remove a modifier from a token, export, and the Figma variable correctly reverts from a hex value to a reference. Our bug is only present when trying to change a Figma variable from a reference to a hex value.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Adding a modifier to an existing token should correctly update any associated Figma variables on export.
Screenshots or Screencasts
https://sharing.clickup.com/clip/p/t6659367/fd49455e-ede0-4d1e-b52c-5438698e6065/screen-recording-2024-11-26-16%3A24.webm
Figma file / JSON file
We can provide these if needed, although would prefer not to do so publicly; Let me know.
The text was updated successfully, but these errors were encountered: