MetaMask / design-tokens

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

Improve TypeScript exports for JS tokens #611

Open georgewrmarshall opened 7 months ago

georgewrmarshall commented 7 months ago

Description

Currently, the mobile project is importing types from the design tokens by traversing into the source folder. This is not ideal and could be improved by exporting all types from @metamask/design-tokens/types. This change would enhance the developer experience.

Technical Details

Acceptance Criteria

Additional Information

Once the types are correctly exported, the change should be tested in the mobile project to ensure it works as expected.

hilvmason commented 4 months ago

revisit this issue, may need to break down further this ticket needs a follow up ticket to update the imports in mobile