AUTO Value is Created as '0' in Variables #2916
Labels
bug
Something isn't working
Figma export
Previously create and sync styles variables
Figma variables
needs-responder
plugin v2
variables, UI, WTCG format, Bitbucket
token type spacing
TS legacy token type
Describe the bug
When creating variables of tokens that use
AUTO
as a value like inSpacing
andlineHeight
, the plugin creates them as0
since variables don't supportAUTO
as a value. The problem arises when users are trying to bind theAUTO
value to text styles but since variables don't support the value it instead applies the0
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should skip tokens that have AUTO as the value as we cannot create them as the proper variables
Screenshots or Screencasts
https://github.com/tokens-studio/figma-plugin/assets/93133012/d0c7b208-5c75-4c6a-b001-02f7d59d580b
The text was updated successfully, but these errors were encountered: