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

Commit

Permalink
fix(card): Correct text in a card to use text-primar-on-light (#931)
Browse files Browse the repository at this point in the history
Closes #930
  • Loading branch information
lynnmercier authored and yeelan0319 committed Jul 13, 2017
1 parent d7aa726 commit e3966d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/mdc-card/mdc-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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") {
Expand All @@ -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") {
Expand Down

0 comments on commit e3966d9

Please sign in to comment.