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

Remove color rounding during token import #11

Merged
merged 2 commits into from
Aug 24, 2023
Merged

Conversation

james04321
Copy link
Collaborator

@james04321 james04321 commented Aug 24, 2023

Remove color rounding during token import now that we've rolled out the REST API fix for high-precision color values

Also handle empty files and add a bunch more tests.

Fixes: https://app.asana.com/0/1203505314277408/1205152183539898/f

Testing

You can run npm run sync-tokens-to-figma locally after making temporary changes to hex values in the tokens files, and check the variables authoring modal in the Figma UI to see that you get the same hex value.

@james04321 james04321 marked this pull request as ready for review August 24, 2023 15:12
@james04321 james04321 merged commit e16503a into main Aug 24, 2023
1 check passed
@james04321 james04321 deleted the james-yang/rgb-rounding branch August 24, 2023 21:26
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

Successfully merging this pull request may close these issues.

None yet

2 participants