react-tailwindcss-datepicker icon indicating copy to clipboard operation
react-tailwindcss-datepicker copied to clipboard

Any chance to add more options for customising styles?

Open danijelbuhin opened this issue 2 years ago • 0 comments

Hello, I would like to update overall styles inside the picker to match my branding but I found it really hard to target everything with CSS. containerClass prop was useful as a starting point but going deep into the DOM to reach specific elements is becoming really messy and unreadable (for example reaching weeks list in the calendar).

Would it be possible to ship default classes for all components/elements so they could be targeted and customized easily? Either with the apply property in CSS files or introducing more class props in the main component (maybe nest them into the componentClassNames object prop or something).

Another option would be some kind of theme config we could override (similar to how we update default tw config). 🤷

Curious to hear your thoughts!

Cheers

danijelbuhin avatar Apr 24 '23 11:04 danijelbuhin