Skip to content

Commit

Permalink
fix(button): Sets text on raised buttons on dark theme to text-primar…
Browse files Browse the repository at this point in the history
…y-on-primary

Resolves #819, Raised buttons on dark theme should default to the
primary color, which means their text should be text-primary-on-primary
  • Loading branch information
lynnmercier committed Jun 22, 2017
1 parent 94d62ad commit d7d257c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mdc-button/mdc-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@

@include mdc-theme-dark(".mdc-button") {
@include mdc-theme-prop(background-color, primary);
@include mdc-theme-prop(color, text-primary-on-primary);

// postcss-bem-linter: ignore
&::before {
Expand Down

0 comments on commit d7d257c

Please sign in to comment.