Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include variables codeSyntax member in exported json #272

Open
yinonov opened this issue Sep 13, 2023 · 1 comment
Open

Include variables codeSyntax member in exported json #272

yinonov opened this issue Sep 13, 2023 · 1 comment

Comments

@yinonov
Copy link

yinonov commented Sep 13, 2023

The codeSyntax property in variables helps defining alternative values which are not supported in Figma.

codeSyntax.WEB might contain a web supported color representation (e.g. LCH) which isn't supported by Figma but might add a better alternative to web pages.

codeSyntax is already included in the Figma's variable GET API so it might already make sense to be included in the extensions property?

@yinonov
Copy link
Author

yinonov commented Sep 14, 2023

as this issue relates to color spaces especially, design-tokens/community-group#147 introduces a way to enhance color definitions in tokens. Not sure if this should be adopted at this point (as it's still a draft at the time of this writing), but maybe be considered to plan ahead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant