mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(dialog): invalid text color in dark themes (#4849)
In dark themes the dialog container will have a dark background and the text should therefore have a light text color. Currently the text color is still dark on a dark background which causes the dialog to look bad in dark themes.
This commit is contained in:
committed by
Andrew Seguin
parent
6aaddbf526
commit
3e993b651c
@@ -5,9 +5,11 @@
|
||||
|
||||
@mixin mat-dialog-theme($theme) {
|
||||
$background: map-get($theme, background);
|
||||
$foreground: map-get($theme, foreground);
|
||||
|
||||
.mat-dialog-container {
|
||||
background: mat-color($background, dialog);
|
||||
color: mat-color($foreground, text);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user