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

Applying Tokens also Applies Variables #3274

Open
keeganedwin opened this issue Feb 21, 2025 · 0 comments
Open

Applying Tokens also Applies Variables #3274

keeganedwin opened this issue Feb 21, 2025 · 0 comments
Labels

Comments

@keeganedwin
Copy link
Collaborator

Describe the bug
With certain variables, the plugin applies the token as well as the variable. If I apply a color token with a variable, the inspect panel only shows the token applied. If I however apply a token with a number variable, the inspect panel shows both the token as well as the number variable applied. This is primarily the case for: spacing, radius and width.

To Reproduce
Steps to reproduce the behavior:

  1. Export tokens as number variables
  2. Apply the aforementioned dimension tokens
  3. See error

Expected behavior
The plugin should just apply the token and not the variable, as the variable should only be displayed if applied from Figma.

Screenshots or Screencasts
Recording

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📥 Triage
Development

No branches or pull requests

1 participant