Skip to content

Commit 01605d0

Browse files
josephperrottVivian Hu
authored and
Vivian Hu
committed
fix(stepper): fix text contrast ratio of stepper labels (#14012)
1 parent 2814a99 commit 01605d0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/lib/stepper/_stepper-theme.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@
1717

1818
.mat-step-label,
1919
.mat-step-optional {
20-
color: mat-color($foreground, disabled-text);
20+
// TODO(josephperrott): Update to using a corrected disabled-text contrast
21+
// instead of secondary-text.
22+
color: mat-color($foreground, secondary-text);
2123
}
2224

2325
.mat-step-icon {
24-
background-color: mat-color($foreground, disabled-text);
26+
// TODO(josephperrott): Update to using a corrected disabled-text contrast
27+
// instead of secondary-text.
28+
background-color: mat-color($foreground, secondary-text);
2529
color: mat-color($primary, default-contrast);
2630
}
2731

0 commit comments

Comments
 (0)