-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Where is the documentation for using custom colors/themes with the datepicker? NON-EXISTENT.
Why does it build the datepicker from javascript when it could just be styled directly using Tailwindcss if the actual datepicker wasn't built by javascript?
Javascript is not for building elements, it's for injecting values into the elements.
This is one of the worst-designed components I've ever seen.
This would be orders of magnitude better if you actually used HTML, Javascript, and Tailwindcss the way they were intended to be used. Meaning start with a template in the actual HTML which contains the full structure and styles of the datepicker (container, buttons, etc incl. weekDays, daysOfMonth), and duplicate the existing HTML-in-html via ID/class the required number of times for the daysOfMonth. Etc. Extrapolate that for all other features.