argyleink/open-props

value and type -> $value and $type causes issues in current version of figma-tokens

hchiam opened this issue · 0 comments

hchiam commented

while updating my notes and videos of setting up op in figma-tokens, i noticed tokens aren't properly generated in the latest figma-tokens plugin when i try to use either of the following URLs:

Commit 327a70f was done to update design token json to the latest spec syntax, but i'm thinking we'll need to undo part of the commit to treat figma tokens differently.

it seems the figma-tokens plugin is still expecting value and type instead of $value and $type because it keeps trying to recreate value and type when i hit "Save JSON", but it does so badly:

figma-tokens tries to convert from $value to value but does it badly

and the output does not look right:

the output has $value and $type as individual values, with everything under Other