Skip to content

Commit

Permalink
Merge pull request #1044 from AbleKSaju/fix-date
Browse files Browse the repository at this point in the history
fix: dark mode support for date input calendar
  • Loading branch information
akshayitzme authored Dec 10, 2024
2 parents 22f71b2 + c578b25 commit 266f115
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 266f115

Please sign in to comment.