From c578b258f051814505e6bb98c20ee5f033eace59 Mon Sep 17 00:00:00 2001 From: AbleKSaju <126228406+AbleKSaju@users.noreply.github.com> Date: Sat, 7 Dec 2024 15:44:23 +0530 Subject: [PATCH] fix: dark mode support for date input calendar --- src/styles/index.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/styles/index.css b/src/styles/index.css index 824369cd..5d59db92 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -25,8 +25,9 @@ html { } html.dark { - color: theme('colors.white'); + color: theme('colors.black'); background-color: theme('colors.gray.900'); + color-scheme: dark; } html.dark input[type='date']::-webkit-calendar-picker-indicator {