You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flat button with inverted colors (accent color background) #7264
Feature request:
A flat button with accent background and its corresponding text color.
What are the steps to reproduce?
Basically it's a raised button without its shadow.
What is the use-case or motivation for changing an existing behavior?
Those buttons are used in many situations since you are not supposed to use the raised button on elements with z-elevation.
They are already present in many (if not all) Google apps and websites with material design.
Even though they are not described in the official guidelines, the image you see is taken from the material guidelines website on the 'button' page.
Reacted by Actarus, Edric Chan and Daniel Pfefferkorn
Activity
jelbourn commentedon Sep 24, 2017
I don't follow. How is this not the existing
colorproperty?Ploppy3 commentedon Sep 24, 2017
Currently we have this:

I request a raised button without its shadow as stated in the feature request.
Ploppy3 commentedon Sep 24, 2017
One way to implement it: add a new directive
[background-color]to themd-button.What do you think?
willshowell commentedon Sep 25, 2017
While not idiomatic, it might be nice if adjusting the elevation of the raised button was a little easier. This,
doesn't work because both the default elevation and z0 styles have the same specificity. Of course it's simple to add this to your global stylesheet.
fix(button): allow for elevation to be overwritten
fix(button): allow for elevation to be overwritten
fix(button): allow for elevation to be overwritten (#7305)
Ploppy3 commentedon Sep 29, 2017
@crisbeto Thank you very much.
leocaseiro commentedon Oct 19, 2017
That would be nice if we could also overwrite
mat-button-toggle-group. Should I open a new issue or is very related to this one?cc @crisbeto
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
fix(button-toggle): allow toggle group elevation to be overwritten
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.