Skip to content

Commit 99ebba4

Browse files
authored
Merge pull request #130 from Bilal-io/master
Adds 'flat' and 'strokes' buttons. Fixes #129
2 parents c8c9307 + 027553a commit 99ebba4

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ You don't need to type any dashes: "ngrxr" -> "ng-rx-reducer" snippet
136136
| m-button-fab-mini | Small circular button w/ elevation. |
137137
| m-button-icon | Circular Material button with a transparent background |
138138
| m-button-raised | Rectangular Material button w/ elevation. |
139+
| m-button-flat | Rectangular Material flat button. |
140+
| m-button-stroked | Rectangular Material button with a transparent background and a stroke. |
139141
| m-button-toggle | Material toggle button |
140142
| m-card | Material Basic Card |
141143
| m-card-full | Material Card |

Diff for: src/snippets.json

+16
Original file line numberDiff line numberDiff line change
@@ -2126,6 +2126,22 @@
21262126
"<button mat-raised-button>${text}</button>$0"
21272127
]
21282128
},
2129+
"Material Flat Button": {
2130+
"prefix": "m-button-flat",
2131+
"description": "Rectangular Material flat button.",
2132+
"types": "typescript, html",
2133+
"body": [
2134+
"<button mat-flat-button>${text}</button>$0"
2135+
]
2136+
},
2137+
"Material Stroked Button": {
2138+
"prefix": "m-button-stroked",
2139+
"description": "Rectangular Material button with a transparent background and a stroke.",
2140+
"types": "typescript, html",
2141+
"body": [
2142+
"<button mat-stroked-button>${text}</button>$0"
2143+
]
2144+
},
21292145
"Material Icon Button": {
21302146
"prefix": "m-button-icon",
21312147
"description": "Circular Material button with a transparent background",

0 commit comments

Comments
 (0)