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

bug: fix css exports #614

Closed georgewrmarshall closed 7 months ago

georgewrmarshall commented 7 months ago

Description

This PR addresses an issue where the CSS stylesheet exports were not functioning correctly due to a misconfiguration in the package.json file. Specifically, the exports field in package.json was not correctly configured to include the CSS file, causing the exports to fail.

Related issues

Fixes: #608 Attempted previous fix: https://github.com/MetaMask/design-tokens/pull/609

Screenshots/Recordings

This PR does not include any visual changes, so screenshots are not applicable.

Before

https://github.com/MetaMask/design-tokens/assets/8112138/70e1fb1c-a2ea-4e2c-a6ca-576f364cc87e

After

https://github.com/MetaMask/design-tokens/assets/8112138/8562d994-d05b-41f9-8e31-4dcd7e3d75ae

Manual testing steps

Pre-merge author checklist

Pre-merge reviewer checklist