Skip to content

feat: toast, add shadow part to customize cancel button #27920

@luisbytes

Description

@luisbytes

Prerequisites

Describe the Feature Request

I would like to independently modify the styles of the button with the role "cancel" without affecting the other buttons of the toasts.

Describe the Use Case

Display the button with the role "cancel" in a different color than the others or modify its position.

Describe Preferred Solution

To solve this problem, I would like the buttons with the role "cancel" to have a CSS Shadow Part called "button-cancel."

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions