Open WasiHaider279 opened 5 months ago
Hey, I would like this feature as well. As far as I can tell there is no way to style the datepicker popover currently. But I am willing to work on this feature. Great datepicker btw :)
hi @WasiHaider279, to change the background color and text color on the picker panels, i think you can use this way
.tailwind-datepicker > div > div { @apply border-zinc-200 bg-white dark:border-zinc-800 dark:bg-zinc-950 !text-red-500 }
<Datepicker useRange={false} asSingle={true} value={value} onChange={(val) => setValue(val)} containerClassName='relative tailwind-datepicker' inputClassName='input inline' />
Discussed in https://github.com/onesine/react-tailwindcss-datepicker/discussions/259