Description
Implement "Colors v2" updates in the codebase to reflect the design changes outlined in [this PR](MetaMask/design-tokens#741).
The updates include modifications to the light and dark themes, introduction of new color tokens, and adjustments for accessibility and consistency with Figma.
Technical Details
Light Theme Updates
-
Border Updates
- Update
border.default: {grey.200} → {grey.400}.
-
Icon Linkage to Text
icon.default: {grey.900} → {text.default}.
icon.alternative: {grey.500} → {text.alternative}.
icon.muted: {grey.300} → {text.muted}.
-
New Colors
- Add
background-muted: {grey.050}.
- Add
background-muted-hover: #E7EBEE.
- Add
background-muted-pressed: #DBE0E6.
-
Description Updates
- Align descriptions with Figma specifications.
Dark Theme Updates
-
Background Adjustments
- Update
background-default: {grey.800} → {grey.900}.
- Update
background-alternative: {grey.900} → {grey.1000}.
-
Hover and Pressed State Adjustments
background-default-hover: #313235 → #1E2124.
background-default-pressed: #3F4145 → #272B2F.
background-alternative-hover: #1F2123 → #0A0A0A.
background-alternative-pressed: #2E3033 → #141414.
-
Border Update
border.default: {grey.400} → {grey.500}.
-
Text Contrast Adjustments
text.alternative: {grey.200} → {grey.300}.
text.muted: {grey.400} → {grey.500}.
-
Icon Linkage to Text
icon.default: {grey.000} → {text.default}.
icon.alternative: {grey.300} → {text.alternative}.
icon.muted: {grey.500} → {text.muted}.
-
New Colors
- Add
background-muted: {grey.800}.
- Add
background-muted-hover: #2D3034.
- Add
background-muted-pressed: #363B3F.
-
Description Updates
- Align descriptions with Figma specifications.
Acceptance Criteria
- The code reflects the updates described in the technical details.
- All color changes are verified in the light and dark themes.
- Accessibility standards are met, with improved contrast ratios as described.
- Descriptions match Figma standards.
References
Description
Implement "Colors v2" updates in the codebase to reflect the design changes outlined in [this PR](MetaMask/design-tokens#741).
The updates include modifications to the light and dark themes, introduction of new color tokens, and adjustments for accessibility and consistency with Figma.
Technical Details
Light Theme Updates
Border Updates
border.default:{grey.200}→{grey.400}.Icon Linkage to Text
icon.default:{grey.900}→{text.default}.icon.alternative:{grey.500}→{text.alternative}.icon.muted:{grey.300}→{text.muted}.New Colors
background-muted:{grey.050}.background-muted-hover:#E7EBEE.background-muted-pressed:#DBE0E6.Description Updates
Dark Theme Updates
Background Adjustments
background-default:{grey.800}→{grey.900}.background-alternative:{grey.900}→{grey.1000}.Hover and Pressed State Adjustments
background-default-hover:#313235→#1E2124.background-default-pressed:#3F4145→#272B2F.background-alternative-hover:#1F2123→#0A0A0A.background-alternative-pressed:#2E3033→#141414.Border Update
border.default:{grey.400}→{grey.500}.Text Contrast Adjustments
text.alternative:{grey.200}→{grey.300}.text.muted:{grey.400}→{grey.500}.Icon Linkage to Text
icon.default:{grey.000}→{text.default}.icon.alternative:{grey.300}→{text.alternative}.icon.muted:{grey.500}→{text.muted}.New Colors
background-muted:{grey.800}.background-muted-hover:#2D3034.background-muted-pressed:#363B3F.Description Updates
Acceptance Criteria
References