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

(DO-NOT-MERGE-YET) Legacy into New tokens: allow automation of core and theme tokens #272

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nataliadelmar
Copy link
Collaborator

Description

Core and theme tokens are currently updated manually by engineers. The new Momentum Engineering team has implemented a process for tokens to be automatically pushed by designers from Figma into our new Momentum-design repository. Moreover, the design team has also created a new list of core and theme tokens, which can be seen here:

New theme tokens

New core tokens:
Figma link | Monorepo link

We want to exploit this new automation process so to be able to also update this repositories' core and theme tokens whenever an update is made from Momentum Designers from Figma.

The strategy

The idea goes as follows: Right now the web, windows, mac, ios and android webex teams are consuming theme and component tokens from this repository. In this PR, we want to add 'new core tokens' in the 'core' folder. This tokens would be the new theme tokens coming from Momentum-Design monorepo pointing to their raw value. For example, color-theme-surface-neutral-00-default: '#ffffff00'.

Then, in this PR, we want to point the existing theme tokens to the new theme tokens from the Momentum-Design monorepo, so that, theme-background-primary-ghost: color-white-alpha-00 is changed to color-theme-surface-neutral-00-default

Here is the illustration of this strategy:
image

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.

1 participant