Tokens applying as Variables instead of Tokens #3227
Labels
bug
Something isn't working
Figma variables
Inspect tab
needs-responder
token type border radius
TS legacy token type - dimension
token type border width
TS legacy token type - dimension
token type dimensions
Describe the bug
When you export certain token types as Variables and try to apply it as a token to an element in Figma, the Variable is applied instead of the Token.
The Variable icon should be shown when a Variable is directly applied from Figma. The same accounts for the styles icon (4 dots).
In my tests I noticed strange behavior for the token types: Border Radius, Border Width and the Dimension token (all can be applied to different sides/places, so that is probably related to the issue).
To Reproduce
Steps to reproduce the behavior:
Note
Please also check other token types to see if I didn't miss any type.
Expected behavior
These Tokens should be applied as Token and not as Variable (so the Variable icon shouldn't show up in the inspect tab).
Screenshots or Screencasts
https://github.com/user-attachments/assets/5787c215-9671-428b-a9d1-76fc53d8d76d
Figma file (optional)
https://www.figma.com/design/p4GCFwId9x3mRGvMjD8dG2/Tokens-applying-as-Variables-instead-of-Tokens?node-id=0-1&t=b0GGuh5dFKgUFpHv-1
The text was updated successfully, but these errors were encountered: