Describe the bug
When creating variables of tokens that use AUTO as a value like in Spacing and lineHeight, the plugin creates them as 0 since variables don't support AUTO as a value. The problem arises when users are trying to bind the AUTO value to text styles but since variables don't support the value it instead applies the 0.
To Reproduce
Steps to reproduce the behavior:
Create tokens in spacing and lineHeight with AUTO as the value
Create variables of these tokens
See error
Expected behavior
Not sure if the solution is straightforward since variables do not support AUTO. Will need @six7 input on this.
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 Not sure if the solution is straightforward since variables do not support AUTO. Will need @six7 input on this.
Screenshots or Screencasts https://github.com/tokens-studio/figma-plugin/assets/93133012/d0c7b208-5c75-4c6a-b001-02f7d59d580b