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:
- https://unpkg.com/open-props@1.6.16/open-props.figma-tokens.json or
- https://unpkg.com/open-props@1.6.16/open-props.figma-tokens.sync.json
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:
and the output does not look right: