Full configuration for theme. "common" prefix is for entire calendar. "common" properties can be overriden by "week", "month". "week" prefix is for weekly and daily view. "month" prefix is for monthly view.

set_theme(cal, ..., theme_list = NULL)

Arguments

cal

A calendar object.

...

Named arguments to customize appearance with CSS. See online documentation for full list of options.

theme_list

Alternative to ... for using a list.

Note

Online JavaScript documentation: https://nhn.github.io/tui.calendar/latest/themeConfig

Examples

calendar(defaultView = "month") %>% set_theme( common.border = '2px solid #e5e5e5', common.backgroundColor = 'white', common.holiday.color = '#ff4040', common.saturday.color = '#0000FF', common.dayname.color = '#333', common.today.color = '#333' )