Skip to content

My Figma variable collections are being embedded in "value", which are not accepted by style-dictionary #288

Closed Answered by JeroenRoodIHS
JeroenRoodIHS asked this question in Q&A
Discussion options

You must be logged in to vote

Soon enough, I learned that the "value" property was due to a misconfiguration in the settings I applied to the design-tokens plugin. However, my problem wasn't solved just yet. Here is how I got it to work. It might be helpful for others, even though it is opinionated to my own situation.

I continued debugging my own tokens setup. I learned that the setup as illustrated above might need some streamlining. I used to have literal tokens like: sem-themed-colors/brig-color-courseStatus-background-fired.

...this doesn't make use of either Figma's, design-token's or Style Dictionary's potential.

Instead, I restructured the literal tokens to groups, which basically is what I was trying to do in…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JeroenRoodIHS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant