Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

fix(list): Ensure disabled colors apply to primary and secondary text #5322

Merged
merged 1 commit into from
Dec 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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