MetaMask / design-tokens

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

Refactor CSS Stories to Use CSS Variables Instead of Static Color Values #695

Closed georgewrmarshall closed 1 month ago

georgewrmarshall commented 1 month ago

Description

The CSS variable stories within our design system currently utilize static color values instead of referencing CSS variables directly. This approach does not accurately test the CSS variables as it bypasses their dynamic nature, leading to potential discrepancies between the expected and actual visual outcomes in different themes or environments.

Technical Details

Acceptance Criteria