Skip to content

Commit 32d346c

Browse files
committed
feat(picker): add picker css props
1 parent d223c51 commit 32d346c

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ Type part of a snippet, press enter, and the snippet unfolds.
204204
| `i-dark-mode-media-query` | Dark mode media query for Mac OS |
205205
| `i-datetime-props` | Datetime CSS custom properties |
206206
| `i-item-props` | Item CSS custom properties |
207+
| `i-picker` | Picker CSS custom properties |
207208
| `i-root` | `:root { }` |
208209
| `i-stepped-color` | Stepped colors add to `:root` |
209210
| `i-textarea-props` | Textarea CSS custom properties |

Diff for: snippets/scss.json

+20
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,26 @@
282282
],
283283
"description": "Item CSS custom properties"
284284
},
285+
"ion-picker-props": {
286+
"prefix": "i-picker-props",
287+
"body": [
288+
"${1:ion-picker} {",
289+
"\t--background: ${2:#3880ff};",
290+
"\t--background-rgb: ${3:56, 128, 255};",
291+
"\t--border-color: ${4:#3880ff};",
292+
"\t--border-radius: ${5:8px};",
293+
"\t--border-style: ${6:solid};",
294+
"\t--border-width: ${7:8px};",
295+
"\t--height: ${8:100%};",
296+
"\t--max-height: ${9:100%};",
297+
"\t--max-width: ${10:100%};",
298+
"\t--min-height: ${11:100%};",
299+
"\t--min-width: ${12:100%};",
300+
"\t--width: ${13:100%};",
301+
"}"
302+
],
303+
"description": "Picker CSS custom properties"
304+
},
285305
"ion-root": {
286306
"prefix": "i-root",
287307
"body": [

0 commit comments

Comments
 (0)