fix(stepper): fix text contrast ratio of stepper labels (#14012)

This commit is contained in:
Joey Perrott
2018-11-09 16:08:33 -08:00
committed by vivian-hu
parent 6136ee7209
commit ae5b10f9d8
+6 -2
View File
@@ -17,11 +17,15 @@
.mat-step-label,
.mat-step-optional {
color: mat-color($foreground, disabled-text);
// TODO(josephperrott): Update to using a corrected disabled-text contrast
// instead of secondary-text.
color: mat-color($foreground, secondary-text);
}
.mat-step-icon {
background-color: mat-color($foreground, disabled-text);
// TODO(josephperrott): Update to using a corrected disabled-text contrast
// instead of secondary-text.
background-color: mat-color($foreground, secondary-text);
color: mat-color($primary, default-contrast);
}