mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(stepper): fix text contrast ratio of stepper labels (#14012)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user