vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views
https://vkurko.github.io/calendar/
MIT License
1.32k stars 114 forks source link

Theming specific days or dates? (e.g. for days off, holidays) #328

Closed DocBouCou closed 1 month ago

DocBouCou commented 1 month ago

Hi,

I would like to know if it is possible to theme some particular dates?

For instance, today is "highlighted" in pale yellow. I would like to color in pale grey the days off (sundays, national holidays, or any days my users are not working, for instance).

Is it currently possible? If yes, how would I do that? If no, do you think you might implement this feature?

Regards, and thank you for the great work

vkurko commented 1 month ago

There is highlightedDates option. Also you can use background events to grey out particular days or times.

DocBouCou commented 1 month ago

Thank you very much :-)