Skip to content

Commit 8a35539

Browse files
committed
feat(datetime): add datetime css props
1 parent 586f311 commit 8a35539

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ Type part of a snippet, press enter, and the snippet unfolds.
202202
| `i-content-props` | Content CSS custom properties |
203203
| `i-dark-mode` | Dark mode example for Mac OS |
204204
| `i-dark-mode-media-query` | Dark mode media query for Mac OS |
205+
| `i-datetime-props` | Datetime CSS custom properties |
205206
| `i-item-props` | Item CSS custom properties |
206207
| `i-root` | `:root { }` |
207208
| `i-stepped-color` | Stepped colors add to `:root` |

Diff for: snippets/scss.json

+13
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,19 @@
234234
],
235235
"description": "Dark mode media query for Mac OS"
236236
},
237+
"ion-datetime-props": {
238+
"prefix": "i-datetime-props",
239+
"body": [
240+
"${1:ion-datetime} {",
241+
"\t--padding-bottom: ${2:4px};",
242+
"\t--padding-end: ${3:4px};",
243+
"\t--padding-start: ${4:4px};",
244+
"\t--padding-top: ${5:4px};",
245+
"\t--placeholder-color: ${6:#3880ff};",
246+
"}"
247+
],
248+
"description": "Datetime CSS custom properties"
249+
},
237250
"ion-item-props": {
238251
"prefix": "i-item-props",
239252
"body": [

0 commit comments

Comments
 (0)