Skip to content

Commit c049130

Browse files
committed
feat: added icon button
1 parent 379c21b commit c049130

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
<button mat-flat-button class="primary">Default Primary</button>
22
<button mat-flat-button class="secondary">Default Secondary</button>
33
<button mat-flat-button class="accent">Default Accent</button>
4+
<button mat-icon-button class="icon-button">
5+
<mat-icon>more_vert</mat-icon>
6+
</button>

src/app/components/color-showcase/color-showcase.component.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
);
1717
}
1818

19+
.icon-button {
20+
@include mat.icon-button-overrides(
21+
(
22+
icon-size: 2px,
23+
)
24+
);
25+
}
26+
1927
.primary {
2028
@include button-color("primary");
2129
}

0 commit comments

Comments
 (0)