trimox / angular-mdc-web

Angular wrapper for Material Design (Web) Components
https://trimox.github.io/angular-mdc-web
MIT License
518 stars 87 forks source link

[button] Set ripple base color wont work #2207

Open AndreKoepke opened 4 years ago

AndreKoepke commented 4 years ago

Describe the bug When I apply the states-base-color($color) mixin from @material/ripple to a .mdc-button, then the ripple-effect does not change the color. On other components like on .mdc-icon-button it works.

To Reproduce

  1. Add a mdc-button.
  2. Try to change ripple-color with sass mixin.

MDC Stackblitz is currently broken, so I can not provide an example.

Expected behavior Change of color work.

Screenshots A button with the same mixin of icon-buttons. image

And a nice icon-button (in white and red to proof that I only change the value of the mixin) image image

What Angular MDC version are you using? 5.1.1 and 6.0.0-canary.4

What OS are you using?: Linux

What browser(s) is this bug affecting?: Firefox