From e3966d91b1ae3f890274911feb45465864490897 Mon Sep 17 00:00:00 2001 From: Lynn Jepsen Date: Wed, 12 Jul 2017 21:58:52 -0700 Subject: [PATCH] fix(card): Correct text in a card to use text-primar-on-light (#931) Closes #930 --- packages/mdc-card/mdc-card.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/mdc-card/mdc-card.scss b/packages/mdc-card/mdc-card.scss index ea059a8d614..a9da88f433d 100644 --- a/packages/mdc-card/mdc-card.scss +++ b/packages/mdc-card/mdc-card.scss @@ -50,7 +50,7 @@ box-sizing: border-box; @include mdc-typography(body1); - @include mdc-theme-prop(color, text-primary-on-background); + @include mdc-theme-prop(color, text-primary-on-light); @include mdc-theme-dark(".mdc-card") { @include mdc-theme-prop(color, text-primary-on-dark); @@ -132,7 +132,7 @@ &__title { @include mdc-typography(body2); - @include mdc-theme-prop(color, text-primary-on-background); + @include mdc-theme-prop(color, text-primary-on-light); // Adjust text color for dark theme. @include mdc-theme-dark(".mdc-card") { @@ -150,7 +150,7 @@ &__subtitle { @include mdc-typography(body1); - @include mdc-theme-prop(color, text-primary-on-background); + @include mdc-theme-prop(color, text-primary-on-light); // Adjust text color for dark theme. @include mdc-theme-dark(".mdc-card") {