Describe the bug
When using variables connected to tokens inside gradients, they do not update correctly when applying a theme from the plugin using “Resolved values.” Regular color fills work fine, but gradients fail to update as expected.
To Reproduce
Create a gradient token with referring base color tokens
now create styles and variables with the Create styles with variable references option.
now apply the gradient token on any frame
change the applied current tokens as to resolved values, no variables or styles in the plugin and click on the apply to selection button.
Now click on the fill-in Figma and see the error
Expected behavior
selecting the resolved values, no variables or styles, shouldn't apply any variables or styles to the elements.
Describe the bug When using variables connected to tokens inside gradients, they do not update correctly when applying a theme from the plugin using “Resolved values.” Regular color fills work fine, but gradients fail to update as expected.
To Reproduce
Create styles with variable references
option.applied current tokens as
toresolved values, no variables or styles
in the plugin and click on the apply to selection button.Expected behavior selecting the resolved values, no variables or styles, shouldn't apply any variables or styles to the elements.
Screenshots or Screencasts
https://github.com/user-attachments/assets/87dd1000-dab6-4b48-9696-92f456f9074d