Skip to content

Commit

Permalink
fix(stepper): fix text contrast ratio of stepper labels (#14012)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephperrott authored and Vivian Hu committed Nov 12, 2018
1 parent 2814a99 commit 01605d0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib/stepper/_stepper-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 01605d0

Please sign in to comment.