Skip to content

Commit

Permalink
fix(checkbox, radio): make disabled label disabled match spec color (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tinayuangao authored and jelbourn committed May 15, 2017
1 parent 61f3987 commit 8159fcc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/checkbox/_checkbox-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
border-color: $disabled-color;
}
}

.mat-checkbox-label {
color: $disabled-color;
}
}

.mat-checkbox:not(.mat-checkbox-disabled) {
Expand Down
4 changes: 4 additions & 0 deletions src/lib/radio/_radio-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,9 @@
.mat-radio-ripple .mat-ripple-element, .mat-radio-inner-circle {
background-color: mat-color($foreground, disabled);
}

.mat-radio-label-content {
color: mat-color($foreground, disabled);
}
}
}

0 comments on commit 8159fcc

Please sign in to comment.