Skip to content

docs-bug(MAT-DIALOG): How properly style your mat-dialog #26705

@mattiLeBlanc

Description

@mattiLeBlanc

Documentation Feedback

I can't find any information on how to properly style your mat-dialog. In AM15, I see that variables are used, like --mdc-dialog-container-color.
I am trying to change the background color of mat-mdc-dialog-surface mdc-dialog__surface and I can of course just add some custom CSS, but I rather do a proper configuration of the mat-dialog mixin so that it applies to all dialogs.

Where can I find examples of styling your mat-dialog?

Affected documentation page

https://material.angular.io/components/dialog/api

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsThis issue is related to documentationneeds triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions