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:
Paul Gschwendtner
2017-06-06 00:43:56 +02:00
committed by Andrew Seguin
parent 6aaddbf526
commit 3e993b651c
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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);
}
}