Reputation: 437
Just wondering how I might go about changing the color of a paper-button's box shadow (button's toggles attribute enabled), in a dynamic fashion (i.e. based on a host element property value)? The 'shadow color' property isn't something that is currently exposed in it's api, and I'm not sure how one would even change the paper-button's child paper-material properties in such a way.
Upvotes: 1
Views: 677
Reputation: 581
The shadow for paper-button
comes from a paper-material
inside.
To style the shadow of paper-material
you can use these mixins (different depending on elevation):
Here's a working example
Upvotes: 1