Skip to content

Commit 28ad5cf

Browse files
authored
Merge pull request #143 from ditdot-dev/datepicker-color
Add dark mode style to datepicker icon
2 parents a6f4024 + 7cc2888 commit 28ad5cf

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

src/assets/css/themes/theme-green.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ header.vff-header svg.f-logo {
226226
color: var(--vff-main-accent-color);
227227
}
228228

229+
.vff ::-webkit-calendar-picker-indicator {
230+
filter: invert(100%);
231+
}
232+
229233
.vff span.f-answered{
230234
color: var(--vff-main-accent-color);
231235
}
@@ -239,7 +243,7 @@ header.vff-header svg.f-logo {
239243
}
240244

241245
/*footer*/
242-
.vff-footer .footer-inner-wrap{
246+
.vff-footer .footer-inner-wrap {
243247
background-color: var(--vff-bg-color);
244248
}
245249

@@ -253,12 +257,12 @@ header.vff-header svg.f-logo {
253257
fill: var(--vff-main-text-color);
254258
}
255259

256-
.vff-footer .footer-inner-wrap{
260+
.vff-footer .footer-inner-wrap {
257261
background-color: rgba(49,54,64,0.75);
258262
}
259263

260264
.vff-footer .f-prev:hover,
261-
.vff-footer .f-next:hover{
265+
.vff-footer .f-next:hover {
262266
background-color: rgba(0,0,0,0.2);
263267
}
264268

@@ -272,11 +276,11 @@ header.vff-header svg.f-logo {
272276
}
273277

274278
/*field-multiplechoicetype*/
275-
.vff ul.f-radios li{
279+
.vff ul.f-radios li {
276280
color: var(--vff-secondary-text-color);
277281
}
278282

279-
.vff .f-key{
283+
.vff .f-key {
280284
color: var(--vff-main-accent-color);
281285
font-weight: 300;
282286
}

src/assets/css/themes/theme-minimal.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,10 @@ header.vff-header svg.f-logo{
233233
color: var(--vff-main-accent-color);
234234
}
235235

236+
.vff input[type=date]::-webkit-calendar-picker-indicator {
237+
filter: invert(100%);
238+
}
239+
236240
.vff span.f-answered{
237241
color: var(--vff-main-accent-color);
238242
}

src/assets/css/themes/theme-purple.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@ header.vff-header svg.f-logo{
246246
.vff span.f-answered{
247247
color: var(--vff-main-accent-color);
248248
}
249+
250+
.vff ::-webkit-calendar-picker-indicator {
251+
filter: invert(100%);
252+
}
249253

250254
/*footer*/
251255
.vff-footer .f-prev.f-disabled svg,

0 commit comments

Comments
 (0)