Open booc0mtaco opened 2 years ago
@dbanksdesign I saw some recent activity from you on this repo. šš½ I am happy to submit a PR if I can find out whether the documentation or the formatter itself needs updating
bump?
please do update the docs and not the output. I rely on that output to be as is.
The documentation lists the format for
json
to have the following structure:The code uses the tokens without applying any transforms or omissions on
.tokens
. So it would seem this formatter would output the same as the input style dictionary.However, this will result in output including all the additional metadata, which is different from what the documentation would suggest.
Formatter in question
https://github.com/amzn/style-dictionary/blob/main/lib/common/formats.js#L1052-L1072
Either the documentation should be updated to reflect what actually gets output, OR the formatter should be updated to reflect the actual output that gets generated. Not sure which one is intended š¤.