-
Notifications
You must be signed in to change notification settings - Fork 67
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
CSS Library: Generate a Figma token file #1957
Comments
Here are the steps to add the color token to Figma:
Note to self: our token URL will need to be updated after the pull request is merged in. Edit: Token URL updated |
@ataker the design tokens were able to import with no issue! The only minor things I noticed were that some of the color names came in as an asterisk and they were not in groups (i.e. primary, secondary, gray). Not sure if that is something you could fix on your end. If not we can always change it manually in Figma |
@LillyBoot Updated so they have the name, and all the alternates are prefixed with the group they're in: The base ones now end with a hyphen though, I don't think I can help that. |
@ataker thank you for fixing that! It looks much better. @humancompanion-usds any thoughts? |
Looks good. I'm still working through the colors in tokens. There are some I'd like to rename/move:
Otherwise the list looks complete to me in Figma. |
This PR should address all three colors:
|
We still need to remove |
Description
Reference discovery ticket: #1837
An NPM package exists that we could use for Figma: style-dictionary-to-figma. I connected this package and generated a tokens file with it as part of this discovery work but this will need to be verified that it's working as expected as part of the development ticket.
The Figma documentation says that you can import/use that file just by linking to its public source.
This design token validator might be useful too https://animaapp.github.io/design-token-validator-site/
Tasks
Acceptance Criteria
The text was updated successfully, but these errors were encountered: