Skip to content

Update ModalContent for pure-black elevated surface #1280

Description

@georgewrmarshall

Description

Update ModalContent to render the correct elevated dialog surface in pure-black dark mode once PureBlackProvider is available.

Today the dialog uses BoxBackgroundColor.BackgroundDefault, which matches the page background in standard dark mode but does not provide the elevated surface hierarchy required in pure-black mode.

Depends on

Acceptance Criteria

  • ModalContent uses token-backed elevated surface styling in pure-black dark mode
  • Standard grey dark mode appearance is unchanged when isPureBlack is false
  • No consumer-level pure-black conditionals are required at call sites
  • Storybook coverage demonstrates standard dark vs pure-black modal hierarchy
  • Component tests cover pure-black branching where practical

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