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

[WNMGDS-2667][WNMGDS-2668] Scripts for syncing tokens with Figma #2946

Merged
merged 13 commits into from
Feb 21, 2024

Conversation

pwolfert
Copy link
Contributor

@pwolfert pwolfert commented Feb 21, 2024

Summary

WNMGDS-2667, WNMGDS-2668

Add scripts for syncing from and to Figma. This code actually assumes that we're changing the way we store our tokens. These scripts to not interact with our existing token data stored in TypeScript files. We've been updating the structure and values of the tokens in Figma itself, and we will be syncing down from Figma to get our new source of truth, and we will then be storing those tokens in the draft standard for token json.

How to test

There are some unit tests that can be run, but we won't be able to fully test the executable scripts until we have access to enterprise Figma.

Checklist

  • Prefixed the PR title with the Jira ticket number as [WNMGDS-####] Title or [NO-TICKET] if this is unticketed work.
  • Selected appropriate Type (only one) label for this PR, if it is a breaking change, label should only be Type: Breaking
  • Selected appropriate Impacts, multiple can be selected.
  • Selected appropriate release milestone

@pwolfert pwolfert added Type: Internal This item relates to internal tooling/maintenance Impacts: Core Impacts the core DS primarily, changes may occur in other themes as well. labels Feb 21, 2024
@pwolfert pwolfert added this to the 10.0.0-beta.1 milestone Feb 21, 2024
@pwolfert pwolfert requested a review from zarahzachz February 21, 2024 00:12
@pwolfert pwolfert changed the title [WNMGDS-2667] Scripts for syncing tokens with Figma [WNMGDS-2667][WNMGDS-2668] Scripts for syncing tokens with Figma Feb 21, 2024
Base automatically changed from pwolfert/figma-tokens-1-color-utils to main February 21, 2024 20:08
@pwolfert pwolfert force-pushed the pwolfert/figma-tokens-2b-sync branch from c59385f to 26edea7 Compare February 21, 2024 21:35
@pwolfert pwolfert merged commit 1401f6c into main Feb 21, 2024
1 check passed
@pwolfert pwolfert deleted the pwolfert/figma-tokens-2b-sync branch February 21, 2024 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Impacts: Core Impacts the core DS primarily, changes may occur in other themes as well. Type: Internal This item relates to internal tooling/maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants