npm / @metamask/design-tokens
@metamask/design-tokens
What changed in @metamask/design-tokens 1 to 75, from its official release notes, upgrade guides and advisories. Also covers @metamask/design-system-react, @metamask/design-system-shared, @metamask/design-system-tailwind-preset. Sources checked 2026-11-30.
22 breaking15 new APIs and options21 behavior and defaults4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@metamask/design-tokens 7511 changes
New APIs and options 6
Adds the Tailwind v4 large-screen display XL text utility and matching leading and tracking utilities.
Adds the Tailwind v4 small-screen display XL text utility and matching leading and tracking utilities.
Adds CSS custom properties for the large-screen display XL typography style.
Adds CSS custom properties for the small-screen display XL typography style.
Adds the large-screen display XL typography style, using 60px / 75px at medium weight.
Adds the small-screen display XL typography style, using 60px / 75px at bold weight.
Behavior and default changes 5
Changes the hero typeface from MM Poly to Grotzec Cond Bold; only the Bold cut is licensed and should be registered at weight 600.
Changes the hero typeface from MM Poly to Grotzec Cond.
Changes the Figma hero font-family token from MM Poly to Grotzec Cond.
Updates the small-screen amount display large CSS properties to 48px / 56px; the large-screen style remains 60px / 75px.
Updates the small-screen amount display large style to 48px / 56px; the large-screen style remains 60px / 75px.
@metamask/design-tokens 691 changes
Behavior and default changes 1
Updated brand accent and selected neutral token values for the 2026 rebrand palette; CSS, JS, Figma, and Tailwind outputs emit new hex values.
@metamask/design-tokens 662 changes
Breaking changes 2
The default font family is now Inter instead of Geist; consumers must bundle the Inter font files because the package does not ship font binaries.
The default font family token is now Inter instead of Geist; consumers must bundle the Inter font files because the package does not ship font binaries.
@metamask/design-tokens 624 changes
Breaking changes 4
Removed the pure-black CSS override path.
Removed the provisional pure-black dark theme stylesheet.
Removed the provisional pure-black dark theme.
Removed the provisional pure-black theme resolver.
@metamask/design-tokens 604 changes
Breaking changes 2
The canonical dark theme now uses OLED pure-black surface values; apps using legacy default dark without pure-black overrides will see dark-theme UI changes.
The isPureBlack parameter is ignored but retained for call-site compatibility; the function always returns canonical darkTheme.
New APIs and options 2
Added a token for stepped surface elevation over scrims and floating UI, such as modals, toasts, and menus.
Added a token for hairline borders on elevated surfaces in dark mode.
@metamask/design-tokens 556 changes
Breaking changes 3
Replaces the exported
TOAST_BOTTOM_PADDINGconstant.The default padding value changed from 36 to 8.
Replaces
bottomOffsetandcustomTopOffset; adds extra offset from the top in addition to the safe-area inset and default top padding.
Behavior and default changes 2
Toast and Toaster now slide in from the top of the screen, below the safe area, with spring-based enter and exit motion.
Surface styling now varies by theme; the border radius is 16px, and the description defaults to
TextColor.TextAlternative.
Fixes and other changes 1
Partial consumer props now merge with the default
TextAlternativecolor instead of replacing it.
@metamask/design-tokens 512 changes
New APIs and options 2
Added token values for OLED pure-black dark mode.
Added a resolver that accepts
isPureBlackfor OLED pure-black dark mode token values.
@metamask/design-tokens 491 changes
Breaking changes 1
Node.js 20 and 22 are no longer supported; consumers must run Node 24 or newer. Emitted token values and CSS output are unchanged.
@metamask/design-tokens 431 changes
Breaking changes 1
Consumers must run Node.js 20 or newer; Node.js 18 support was dropped.
@metamask/design-tokens 381 changes
Breaking changes 1
Added a single import for Tailwind CSS v4 consumers that provides MetaMask token variables, theme values, typography utilities, font utilities, and shadow utilities.
@metamask/design-tokens 281 changes
Fixes and other changes 1
Custom font family mappings are no longer combined with forced fontWeight values, preventing incorrect or fallback font rendering in React Native apps.
@metamask/design-tokens 274 changes
Breaking changes 4
The CSS variable now returns 600 instead of 700, so styles using the bold token should align with semibold typography.
fontWeights.bold now returns 600 instead of 700, aligning the semantic bold token with semibold typography.
Font loaders and @font-face declarations now consume the Geist-SemiBold asset instead of the retired bold file; update custom font declarations and bundles accordingly.
Font loaders and @font-face declarations now consume the Geist-SemiBoldItalic asset instead of the retired bold file; update custom font declarations and bundles accordingly.
@metamask/design-tokens 232 changes
Behavior and default changes 2
fontSize.5 increased from 18px to 20px, affecting HeadingMd, SectionHeading, BodyLg, and ButtonLabelLg typography tokens.
SectionHeading on large screens now uses 24px instead of 20px to maintain consistent hierarchy with HeadingMd.
@metamask/design-tokens 222 changes
Behavior and default changes 2
The token value was updated for better theme consistency.
Neutral grey palette values were refined for more perceptible uniform elevations and improved hue consistency across muted shades.
@metamask/design-tokens 201 changes
New APIs and options 1
Exports the AnimationDuration enum for standardized animation timing values.
@metamask/design-tokens 111 changes
Fixes and other changes 1
The color was updated to align with trade.
@metamask/design-tokens 103 changes
New APIs and options 1
Design tokens were added for page heading, section heading, button labels, and amount display.
Behavior and default changes 2
Neutral design token color values were updated.
Semantic design token color values were updated.
@metamask/design-tokens 81 changes
New APIs and options 1
Added accent colors for light and dark themes.
@metamask/design-tokens 75 changes
Breaking changes 1
Individual typography font family tokens were removed in favor of base font family tokens.
Behavior and default changes 4
The font size for BodyLg was updated for small screens.
The font size for BodyMd was updated for small screens.
The font size for BodySm was updated for small screens.
The font size for BodyXs was updated for small screens.
@metamask/design-tokens 61 changes
Behavior and default changes 1
Brand colors were updated to match branding and marketing color values.
@metamask/design-tokens 51 changes
Fixes and other changes 1
The font name in the token was fixed by removing a space.
@metamask/design-tokens 42 changes
Breaking changes 1
Removed the CSS variable; applications using it need to update font references.
Behavior and default changes 1
Changed to use Centra No1 with an updated fallback chain.
@metamask/design-tokens 32 changes
Breaking changes 2
Brand color blue and theme colors that use blue, such as primary and info, are updated to brand evolution blurple.
Brand evolution color updates are made, excluding brand color blue and theme colors that use blue, such as primary and info.
@metamask/design-tokens 22 changes
New APIs and options 2
Eight colors were added to the design-tokens Figma Json: four muted-hover and four muted-pressed.
Types are exported from the package root, so developers no longer need deep imports.
@metamask/design-tokens 11 changes
Behavior and default changes 1
Color updates were made to the design tokens package, which may affect the colors used by developers.