@@ -8,23 +8,22 @@ and accessible experience for users. A `<button>` element should be used wheneve
88is performed. An ` <a> ` element should be used whenever the user will _ navigate_ to another view.
99
1010
11- There are five button variants, each applied as an attribute:
11+ There are several button variants, each applied as an attribute:
1212
1313| Attribute | Description |
1414| ----------------------| --------------------------------------------------------------------------|
15- | ` mat-button ` | Rectangular button w/ no elevation. |
16- | ` mat-raised-button ` | Rectangular button w/ elevation |
17- | ` mat-stroked-button ` | Rectangular button w/ an outline border |
15+ | ` mat-button ` | Rectangular text button w/ no elevation |
16+ | ` mat-raised-button ` | Rectangular contained button w/ elevation |
17+ | ` mat-flat-button ` | Rectangular contained button w/ no elevation |
18+ | ` mat-stroked-button ` | Rectangular outlined button w/ no elevation |
1819| ` mat-icon-button ` | Circular button with a transparent background, meant to contain an icon |
1920| ` mat-fab ` | Circular button w/ elevation, defaults to theme's accent color |
2021| ` mat-mini-fab ` | Same as ` mat-fab ` but smaller |
2122
2223
2324### Theming
2425Buttons can be colored in terms of the current theme using the ` color ` property to set the
25- background color to ` primary ` , ` accent ` , or ` warn ` . By default, only FABs (Floating Action Button)
26- are colored; the default background color for ` mat-button ` and ` mat-raised-button ` matches the theme's
27- background color.
26+ background color to ` primary ` , ` accent ` , or ` warn ` .
2827
2928### Capitalization
3029According to the Material design spec button text has to be capitalized, however we have opted not
0 commit comments