Skip to content

Commit 0ec4d2b

Browse files
committed
Dark mode input
1 parent 89f75e5 commit 0ec4d2b

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

changelog-generator/app/globals.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
/* GitHub Dark Mode Theme */
66
@layer base {
77
:root {
8+
color-scheme: dark;
9+
810
/* GitHub dark: #0d1117 */
911
--background: 215 28% 7%;
1012
/* GitHub text: #e6edf3 */
@@ -67,3 +69,15 @@
6769
:not(pre) > code {
6870
@apply bg-secondary px-1.5 py-0.5 rounded font-mono text-sm;
6971
}
72+
73+
/* Date input calendar icon */
74+
input[type="date"] {
75+
position: relative;
76+
}
77+
78+
input[type="date"]::-webkit-calendar-picker-indicator {
79+
position: absolute;
80+
right: 12px;
81+
filter: invert(0.5);
82+
cursor: pointer;
83+
}

0 commit comments

Comments
 (0)