Closed juliana-negrete closed 1 year ago
Hey @juliana-negrete,
the png is sadly not uploaded.
Can you please do the following so I can try to recreate the issue:
cmd
+ option
+ i
to open the console → please take a screenshot of what it says when you click the buttonThanks
@lukasoppermann thanks for getting back to me so quickly. This is what the console is saying. Attaching files again (let me know if you can see them)
I can also invite you to the figma file if you need
Should be fixed in new release version 66. Please reopen if it persists.
@lukasoppermann Thank you! Now it just says no tokens to export. Do I need to select them in a specific way or something?
Hey @juliana-negrete please try again now.
@lukasoppermann thank you! they are exporting now. However I believe there is one level missing from the JSON so it doesn't compile in style dictionary. Basically in my primitives collection I have only one mode called base. This "base" level shows up in the primitives. However when this is then referenced in other tokens that level is not being shown therefore it doesn't compile. If I remove "base" from the JSON it works. I believe that if there is only 1 mode this should either be omitted everywhere or then shown everywhere
j65i0m+6/rG1df38h/5ceLcVf 2lkRs07mOLtKCq9D9eV8J3d4ubpt315X+L/U5URajXIbS9iGRwKJ7nb2kS4SU/FC+xWZqPEqsuSALFpNPKL9Xz6ufCym1aIlFLFbX5T8fhtq7Dy9ylqC8Og2Tur4+Is7kHIh5p9taZ5UPDlyLV/lBg37pFozbUwa8PWG4W4DBHsa61Y90ix6RwJxl+YIKXzvSV9d5+Qk=
Attaching images with examples. Basically in "value": "{_primitives.color.brand.deep-purple}" it is missing the base level from the primitives so they do not match
Hey @juliana-negrete see #257
This is more complex than one would think. The problem is that we need modes in Json as we would have name duplicates which are not allowed in Json. But in references modes don't make sense.
I am trying to export figma variables but I click the save & export button and nothing is happening.
Is there a specific set up I need for variables in Figma? ![Uploading Screenshot 2023-07-31 at 13.50.20.png…]()