Skip to content

Commit

Permalink
fix(list): Ensure disabled colors apply to primary and secondary text
Browse files Browse the repository at this point in the history
  • Loading branch information
allan-chen committed Dec 11, 2019
1 parent 50f110a commit bed15d6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/mdc-list/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,13 @@
@mixin mdc-list-item-disabled-text-color($color, $query: mdc-feature-all()) {
$feat-color: mdc-feature-create-target($query, color);

.mdc-list-item--disabled .mdc-list-item__text {
@include mdc-feature-targets($feat-color) {
@include mdc-theme-prop(color, $color);
.mdc-list-item--disabled {
.mdc-list-item__text,
.mdc-list-item__primary-text,
.mdc-list-item__secondary-text {
@include mdc-feature-targets($feat-color) {
@include mdc-theme-prop(color, $color);
}
}
}
}
Expand Down

0 comments on commit bed15d6

Please sign in to comment.