Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tokens applying as Variables instead of Tokens #3227

Open
rbosker opened this issue Dec 13, 2024 · 0 comments
Open

Tokens applying as Variables instead of Tokens #3227

rbosker opened this issue Dec 13, 2024 · 0 comments
Assignees
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

Comments

@rbosker
Copy link
Collaborator

rbosker commented Dec 13, 2024

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:

  1. Create tokens and export these as Variables (see screenrecording)
  2. Try to apply the tokens to an element and check the Inspect panel afterwards.
  3. See that Variables in some cases are applied instead of the tokens.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: 📥 Triage
Development

No branches or pull requests

2 participants