Skip to content

Commit

Permalink
fix(button): Remove background-color from raised buttons on dark theme
Browse files Browse the repository at this point in the history
See: material-components#819

This runs contrary to the guidelines, but considering MDC gives full control of button color through class names (and CSS is very flexible), it's likely a non-issue. This also fixes the text color being wrong when a light primary color is used.
  • Loading branch information
unascribed authored Jun 15, 2017
1 parent 184897b commit c1933db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/mdc-button/mdc-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
}

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

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

0 comments on commit c1933db

Please sign in to comment.