amzn / style-dictionary

A build system for creating cross-platform styles.
https://styledictionary.com
Apache License 2.0
3.93k stars 557 forks source link

fix: escape double quotes for ts outputStringLiterals #1097

Closed andnorda closed 9 months ago

andnorda commented 9 months ago

Escaping double quotes when generating string literal types is useful when a token value is referencing a font family name.

jorenbroekema commented 9 months ago

Looks good! Can you run npx changeset locally and follow the prompts (use a "patch"), adding patch notes about this change so it ends up nicely in the changelog? Then just commit and push it, then it should be good to merge :)

jorenbroekema commented 9 months ago

Thanks again for contributing :)! this will be included in the next prerelease