Closed
Description
Bug, feature request, or proposal:
Button text should be in uppercase according to the material design spec. Should this rule be defaulted in the appropriate contexts in Angular Material?
What is the expected behavior?
https://material.io/guidelines/components/buttons.html#buttons-usage
Button text should be capitalized in languages that have capitalization. For other languages, colored text on flat buttons distinguishes them from normal text.
What is the current behavior?
text is not capitalized
What are the steps to reproduce?
Any button in any sample
What is the use-case or motivation for changing an existing behavior?
Default behavior should follow the spec
Which versions of Angular, Material, OS, browsers are affected?
current version
Is there anything else we should know?
Here's an option to make it work on forms, cards and dialogs and excludes buttons in menus:
form button, md-card button, md-dialog-container button {
//:not(md-menu-item)
text-transform: uppercase;
}
Metadata
Metadata
Assignees
Labels
No labels