AUTO Value is Created as '0' in Variables
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.
Screenshots or Screencasts https://github.com/tokens-studio/figma-plugin/assets/93133012/d0c7b208-5c75-4c6a-b001-02f7d59d580b
@cuserox tagging you here incase this is related to the work on exporting other items at 0. the AUTO value should be a skipped token on export, it was listed in the dev docs for this @six7 went over in the call.
Not sure if the solution is straightforward since variables do not support AUTO. Will need @six7 input on this.
We should skip tokens that have AUTO as the value as we cannot create them