You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
@metamask/design-system-react 0.36.0
Added
Added BoxBackgroundColor.BackgroundElevated1, BoxBackgroundColor.BackgroundElevated2, and BoxBorderColor.BorderAlternative via @metamask/design-system-shared (#1445)
Changed
Updated peer dependency to @metamask/design-tokens@^9.0.0 (#1444)
Required coordination bump; visual impact comes from the design-tokens 9.0.0 dark theme change for apps not already on OLED pure-black
Updated ModalContent to use BackgroundElevated1 and BorderAlternative instead of branching on pure-black mode (#1445)
elevated1 and border.alternative resolve to the same values as the previous pure-black path (background.alternative, border.muted); appearance is unchanged for OLED pure-black consumers
Updated Toast to use BackgroundElevated2 instead of BackgroundSection (#1445)
Dark theme unchanged (elevated2 matches background.section); light theme changes from background.section (#F3F5F9) to background.elevated2 / background.default (#FFFFFF)
Design-system components no longer branch on usePureBlack() for surface styling; consumers should remove PureBlackProvider / data-pure-black wiring and use elevated tokens (bg-elevated1, bg-elevated2, border-alternative) instead (#1444, #1445)
Added BoxBackgroundColor.BackgroundElevated1, BoxBackgroundColor.BackgroundElevated2, and BoxBorderColor.BorderAlternative via @metamask/design-system-shared (#1445)
Changed
Updated peer dependency to @metamask/design-tokens@^9.0.0 (#1444)
Required coordination bump; visual impact comes from the design-tokens 9.0.0 dark theme change for apps not already on OLED pure-black
Updated BottomSheetDialog to use bg-elevated1 instead of branching on pure-black mode (#1445)
elevated1 resolves to the same value as the previous pure-black path (background.alternative, #0d0d0f); appearance is unchanged for OLED pure-black consumers
Updated Toast to use BackgroundElevated2 instead of theme-conditional BackgroundDefault / BackgroundSection (#1445)
elevated2 maps to background.default in light and background.section in dark, matching the previous branch; appearance is unchanged
Design-system components no longer branch on usePureBlack() for surface styling; consumers should remove ThemeProviderisPureBlack wiring and use elevated tokens (bg-elevated1, bg-elevated2, border-alternative) instead (#1444, #1445)
Added BoxBackgroundColor.BackgroundElevated1 and BoxBackgroundColor.BackgroundElevated2 for stepped surface elevation over scrims and floating UI (#1445)
Added BoxBorderColor.BorderAlternative for hairline borders on elevated surfaces (#1445)
@metamask/design-system-tailwind-preset 0.11.0
Added
Added background.elevated1, background.elevated2, and border.alternative Tailwind color utilities mapped to new design tokens (#1445)
Changed
Updated peer dependency to @metamask/design-tokens@^9.0.0 (#1444)
Required coordination bump; visual impact comes from the design-tokens 9.0.0 dark theme change for apps not already on OLED pure-black
pureBlackThemeColors is deprecated and now aliases dark theme colors (#1444)
@metamask/design-tokens 9.0.0
Added
Added background.elevated1 and background.elevated2 for stepped surface elevation over scrims and floating UI (e.g. modals, toasts, menus) (#1445)
Added border.alternative for hairline borders on elevated surfaces in dark mode (#1445)
Changed
BREAKING: Updated canonical darkTheme to use OLED pure-black surface values (previously only available via pureBlackDarkTheme or data-pure-black overrides) (#1444)
background.default changes from #222325 to #000000; section, alternative, muted, and border values shift to the OLED palette
Apps already on pure-black / OLED dark mode (e.g. MetaMask extension and mobile) already use these values and should see no visual change
Apps on legacy default dark without pure-black overrides will see dark-theme UI changes on upgrade