Skip to content

Commit 6e99b9b

Browse files
fix(material/dialog): dialog's container-color does not follow Material 3 design specs
Fixes a bug in the Angular Material dialog component where dialog uses `surface` container-color instead of `surface-container-high` as per Material 3 guidelines. Fixes #30536
1 parent 92a8253 commit 6e99b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/dialog/_m3-dialog.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
dialog-with-actions-content-padding: 20px 24px 0,
2727
),
2828
color: (
29-
dialog-container-color: map.get($system, surface),
29+
dialog-container-color: map.get($system, surface-container-high),
3030
dialog-subhead-color: map.get($system, on-surface),
3131
dialog-supporting-text-color: map.get($system, on-surface-variant),
3232
),

0 commit comments

Comments
 (0)