Skip to content

[Modal border] Add a border around the modal component for React and Web Components ☔ #20796

@sunny-babbar

Description

@sunny-babbar

The problem

With the new proposal of the color overlay token to be Black # 00000, @ 60 % across all themes (white, gray 10, gray 90, gray 100) for better contrast. We have concluded in exploration that side panel has a border and it would be great to have that consistency of a border to be around Modal and Tearseet/Stacking Tearsheet using $border-sublte-01.


Key links:

Figma file link:


The solution

  • Add a border around the Modal (also eventually Tearsheet / Stacking Tearsheet) for React and Web Components using $border-subtle-01

Examples

Image Image

White theme example:

Image

Gray 10 theme example:

Image

Gray 90 theme example:

Image

Gray 100 theme example:

Image

Design impact

Yes, visual design

Documentation impact

  • The website documentation (carbondesignsystem.com)
  • Figma kit documentation
  • Storybook(s) documentation
  • I'm not sure

Package

@carbon/web-components, @carbon/react, @carbon/colors

Application/PAL

No response

Business priority

None

Available extra resources

No response

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Epic.

    Projects

    Status
    ✅ Done
    Status
    Completed 🚢

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions