MetaMask / design-tokens

Design tokens to be used throughout MetaMask products
https://metamask.github.io/design-tokens/?path=/docs/getting-started-introduction--docs
28 stars 15 forks source link

chore: clean up json #679

Closed georgewrmarshall closed 5 months ago

georgewrmarshall commented 5 months ago

Description

This PR focuses on cleaning up the Figma design token JSON file by removing any symbols or descriptors from token names, such as * or textual descriptors like "strong". This ensures a cleaner, more standardized naming convention across our design tokens which in turn will make it easier to automate and transform into JS and CSS.

Related Issues

Manual Testing Steps

To verify the changes, follow these steps:

  1. Navigate to the updated Figma JSON file page.
  2. Use the search function to look for previously removed terms (e.g., *, "strong").
  3. Confirm that no such terms are present in the token names.

Screenshots/Recordings

Adding visual evidence of the changes can significantly enhance the review process. If applicable, please include screenshots or recordings that showcase the difference made by this PR.

Before

https://github.com/MetaMask/design-tokens/assets/8112138/232adedc-9c98-492d-b2e8-05566e9f2d2a

After

https://github.com/MetaMask/design-tokens/assets/8112138/7ac56aa2-bb30-4ea0-96a9-b3d44e5cc1b5

No remaining instances of *, soft or strong

Screenshot 2024-05-02 at 4 25 45 PM Screenshot 2024-05-02 at 4 25 49 PM Screenshot 2024-05-02 at 4 26 02 PM

Pre-merge Author Checklist

Pre-merge Reviewer Checklist

metamaskbot commented 5 months ago

Builds ready [03b22d3]

Storybook: Storybook

metamaskbot commented 5 months ago

Builds ready [1226528]

Storybook: Storybook