Skip to content

Add shared pure-black provider contract to @metamask/design-system-shared #1273

Description

@georgewrmarshall

Description

Extend the React Native ThemeProvider to accept isPureBlack?: boolean, switch dark-mode token generation to pureBlackDarkTheme when enabled, and export usePureBlack().

Acceptance Criteria

  • ThemeProvider accepts isPureBlack
  • theme === Theme.Dark && isPureBlack uses pureBlackDarkTheme
  • usePureBlack() is exported and returns correct state
  • Existing dark theme behavior is unchanged when isPureBlack is false

Constraint

  • isPureBlack=false uses the existing grey dark theme
  • isPureBlack=true uses pureBlackDarkTheme

References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions