From bed15d68a35eb390e3abfd94d461b810e5c3d362 Mon Sep 17 00:00:00 2001 From: Allan Chen Date: Tue, 10 Dec 2019 22:11:47 -0800 Subject: [PATCH] fix(list): Ensure disabled colors apply to primary and secondary text --- packages/mdc-list/_mixins.scss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/mdc-list/_mixins.scss b/packages/mdc-list/_mixins.scss index c7efdaac0f0..6a01a752788 100644 --- a/packages/mdc-list/_mixins.scss +++ b/packages/mdc-list/_mixins.scss @@ -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); + } } } }