|
2 | 2 | <div class="example-label">Basic</div>
|
3 | 3 | <div class="example-button-row">
|
4 | 4 | <button mat-button>Basic</button>
|
5 |
| - <button mat-button color="primary">Primary</button> |
6 |
| - <button mat-button color="accent">Accent</button> |
7 |
| - <button mat-button color="warn">Warn</button> |
8 | 5 | <button mat-button disabled>Disabled</button>
|
9 | 6 | <a mat-button href="https://www.google.com/" target="_blank">Link</a>
|
10 | 7 | </div>
|
|
14 | 11 | <div class="example-label">Raised</div>
|
15 | 12 | <div class="example-button-row">
|
16 | 13 | <button mat-raised-button>Basic</button>
|
17 |
| - <button mat-raised-button color="primary">Primary</button> |
18 |
| - <button mat-raised-button color="accent">Accent</button> |
19 |
| - <button mat-raised-button color="warn">Warn</button> |
20 | 14 | <button mat-raised-button disabled>Disabled</button>
|
21 | 15 | <a mat-raised-button href="https://www.google.com/" target="_blank">Link</a>
|
22 | 16 | </div>
|
|
26 | 20 | <div class="example-label">Stroked</div>
|
27 | 21 | <div class="example-button-row">
|
28 | 22 | <button mat-stroked-button>Basic</button>
|
29 |
| - <button mat-stroked-button color="primary">Primary</button> |
30 |
| - <button mat-stroked-button color="accent">Accent</button> |
31 |
| - <button mat-stroked-button color="warn">Warn</button> |
32 | 23 | <button mat-stroked-button disabled>Disabled</button>
|
33 | 24 | <a mat-stroked-button href="https://www.google.com/" target="_blank">Link</a>
|
34 | 25 | </div>
|
|
38 | 29 | <div class="example-label">Flat</div>
|
39 | 30 | <div class="example-button-row">
|
40 | 31 | <button mat-flat-button>Basic</button>
|
41 |
| - <button mat-flat-button color="primary">Primary</button> |
42 |
| - <button mat-flat-button color="accent">Accent</button> |
43 |
| - <button mat-flat-button color="warn">Warn</button> |
44 | 32 | <button mat-flat-button disabled>Disabled</button>
|
45 | 33 | <a mat-flat-button href="https://www.google.com/" target="_blank">Link</a>
|
46 | 34 | </div>
|
|
53 | 41 | <button mat-icon-button aria-label="Example icon button with a vertical three dot icon">
|
54 | 42 | <mat-icon>more_vert</mat-icon>
|
55 | 43 | </button>
|
56 |
| - <button mat-icon-button color="primary" aria-label="Example icon button with a home icon"> |
57 |
| - <mat-icon>home</mat-icon> |
58 |
| - </button> |
59 |
| - <button mat-icon-button color="accent" aria-label="Example icon button with a menu icon"> |
60 |
| - <mat-icon>menu</mat-icon> |
61 |
| - </button> |
62 |
| - <button mat-icon-button color="warn" aria-label="Example icon button with a heart icon"> |
63 |
| - <mat-icon>favorite</mat-icon> |
64 |
| - </button> |
65 | 44 | <button mat-icon-button disabled aria-label="Example icon button with a open in new tab icon">
|
66 | 45 | <mat-icon>open_in_new</mat-icon>
|
67 | 46 | </button>
|
|
74 | 53 | <div class="example-button-row">
|
75 | 54 | <div class="example-flex-container">
|
76 | 55 | <div class="example-button-container">
|
77 |
| - <button mat-fab color="primary" aria-label="Example icon button with a delete icon"> |
| 56 | + <button mat-fab aria-label="Example icon button with a delete icon"> |
78 | 57 | <mat-icon>delete</mat-icon>
|
79 | 58 | </button>
|
80 | 59 | </div>
|
81 |
| - <div class="example-button-container"> |
82 |
| - <button mat-fab color="accent" aria-label="Example icon button with a bookmark icon"> |
83 |
| - <mat-icon>bookmark</mat-icon> |
84 |
| - </button> |
85 |
| - </div> |
86 |
| - <div class="example-button-container"> |
87 |
| - <button mat-fab color="warn" aria-label="Example icon button with a home icon"> |
88 |
| - <mat-icon>home</mat-icon> |
89 |
| - </button> |
90 |
| - </div> |
91 | 60 | <div class="example-button-container">
|
92 | 61 | <button mat-fab disabled aria-label="Example icon button with a heart icon">
|
93 | 62 | <mat-icon>favorite</mat-icon>
|
|
102 | 71 | <div class="example-button-row">
|
103 | 72 | <div class="example-flex-container">
|
104 | 73 | <div class="example-button-container">
|
105 |
| - <button mat-mini-fab color="primary" aria-label="Example icon button with a menu icon"> |
| 74 | + <button mat-mini-fab aria-label="Example icon button with a menu icon"> |
106 | 75 | <mat-icon>menu</mat-icon>
|
107 | 76 | </button>
|
108 | 77 | </div>
|
109 | 78 | <div class="example-button-container">
|
110 |
| - <button mat-mini-fab color="accent" aria-label="Example icon button with a plus one icon"> |
111 |
| - <mat-icon>plus_one</mat-icon> |
| 79 | + <button mat-mini-fab disabled aria-label="Example icon button with a home icon"> |
| 80 | + <mat-icon>home</mat-icon> |
112 | 81 | </button>
|
113 | 82 | </div>
|
| 83 | + </div> |
| 84 | + </div> |
| 85 | +</section> |
| 86 | +<section> |
| 87 | + <div class="example-label">Extended Fab</div> |
| 88 | + <div class="example-button-row"> |
| 89 | + <div class="example-flex-container"> |
114 | 90 | <div class="example-button-container">
|
115 |
| - <button mat-mini-fab color="warn" aria-label="Example icon button with a filter list icon"> |
116 |
| - <mat-icon>filter_list</mat-icon> |
| 91 | + <button mat-fab extended> |
| 92 | + <mat-icon>favorite</mat-icon> |
| 93 | + Basic |
117 | 94 | </button>
|
118 | 95 | </div>
|
119 | 96 | <div class="example-button-container">
|
120 |
| - <button mat-mini-fab disabled aria-label="Example icon button with a home icon"> |
121 |
| - <mat-icon>home</mat-icon> |
| 97 | + <button mat-fab extended disabled> |
| 98 | + <mat-icon>favorite</mat-icon> |
| 99 | + Disabled |
122 | 100 | </button>
|
123 | 101 | </div>
|
| 102 | + <div class="example-button-container"> |
| 103 | + <a mat-fab extended routerLink="."> |
| 104 | + <mat-icon>favorite</mat-icon> |
| 105 | + Link |
| 106 | + </a> |
| 107 | + </div> |
124 | 108 | </div>
|
125 | 109 | </div>
|
126 | 110 | </section>
|
0 commit comments