Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 2.72 KB

File metadata and controls

50 lines (34 loc) · 2.72 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • BREAKING: Update font family names from space-separated to hyphenated PostScript format for iOS Metro bundler and expo-font compatibility (#862)
    • Font family names changed: "Geist Regular""Geist-Regular", "Geist Medium""Geist-Medium", "Geist Bold""Geist-Bold"
    • Fixes critical font loading issues on iOS when using Metro bundler with expo-font
    • If using TWRNC preset via @metamask/design-system-react-native components, fonts automatically use correct names with no migration needed
    • If directly referencing font families in custom TWRNC styles, update to hyphenated names (e.g., twfont-['Geist-Regular'] instead of twfont-['Geist_Regular'])
    • Android is unaffected by this change
    • Aligns with MetaMask Mobile's font configuration and expo-font requirements

Fixed

  • Updated font file across apps and packages to match mobile codebase (#801)

Added

  • Added classnames for 5 new text styles: page heading, section heading, button labels, and amount display (#777)
  • Added functionality to improve developer experience with tailwind intellisense and linting for react native (#783)

Added

  • Initial release - MetaMask Design System TWRNC preset
  • ThemeProvider: Context provider for theme management
  • Hooks: useTailwind, useTheme
  • Theme Types: TypeScript definitions for theme configuration
  • MetaMask design token integration for React Native
  • TWRNC preset configuration with MetaMask styling utilities