design-tokens
design-tokens copied to clipboard
export design token file: Cannot read properties of null (reading 'r')
Description
Figma Version: 114.6.1
- select "export design token file"
- Press "Save & Export" button
- See: modal doesn't close and an error code is printed into the console.
Hey, so the plugin seems to not find any color styles. You do have colors styles. You do not by any chance have only color styles with a disabled / hidden prefix? Can you send a screenshot of the settings screen and maybe the opened color styles on the right sidebar?
This would help me to diagnose the issue.
thank you 🙏 what screen is the settings screen? We have colors defined and printed out in the right sidebar and don't have disabled styles
If you just go to "Design Tokens > Settings" that is the screen.
And can you please still send a screenshot of the opened colors styles? Thank you.
Here is the settings screen:
I don't think I can share the color styles publicly, though. the tokens are named like "Pink/pink-100" though
Hey, that all makes sense. I am assuming the styles have only one color layer, correct?
You are not using aliases, are you?
Hey @kaitlynhova any updates here? Does the problem persist? Can you create an example file with the issue so that I can test it myself?
Thank you for checking in! The problem has persisted but we found a work around by using a different Figma file that works for some reason 🙏
@kaitlynhova that is weird. And you have all colors in this new file as well? No color that was only in the old file that could produce this error?