Open elct9620 opened 3 years ago
Sorry for the lateness of this reply, things have been busy and we are going through issues now when we can.
What is the configuration you are using to build to Flutter? At first glance I would say Style Dictionary is not recognizing that type of token and doesn't transform it like by wrapping it in quotes. There are a few potential ways to solve this. You could create a custom transform to handle this type of token, or you could also filter out these tokens in the flutter format if you don't actually need them.
@dbanksdesign
My config is generated from the Figma plugin as the example in my issue. According to the JSON, it has a type mark it as "string" but didn't add the quote to it but others have quotes for it.
Hi, there
I get some confused build results for my Flutter project.
I generate a
design-tokens.json
from Figma Design Token plugins and compile it withstyle-dictionary build
command.I get some incorrectly formatted results:
But the JSON seems not different from other settings
Does anyone know the reason I get the incorrect result?