diff --git a/src/styles/global.css b/src/styles/global.css index 40b8d26..1f7abb3 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -63,6 +63,19 @@ a { color: var(--accent); text-decoration: none; } animation: fadeUp 0.22s ease; } +input[type="date"]::-webkit-calendar-picker-indicator { + cursor: pointer; + transition: filter 0.2s ease; +} + +/* Dark theme */ +:root:not([data-theme="light"]) input[type="date"]::-webkit-calendar-picker-indicator { + filter: invert(1); +} + +/* Light theme */ +[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator { + filter: none; .navbar-link:hover { color: var(--accent) !important; } \ No newline at end of file