cal_theme {toastui} | R Documentation |
Calendar theme options
Description
Full configuration for theme. "common" prefix is for entire calendar. "common" properties can be overridden by "week", "month". "week" prefix is for weekly and daily view. "month" prefix is for monthly view.
Usage
cal_theme(cal, ..., .list = NULL)
Arguments
cal |
A |
... |
Named arguments to customize appearance with CSS. See online documentation for full list of options. |
.list |
Alternative to |
Value
A calendar
htmlwidget object.
Note
Online JavaScript documentation: https://github.com/nhn/tui.calendar/blob/main/docs/en/apis/theme.md
Examples
calendar(view = "month") %>%
cal_theme(
common.border = "2px solid #E5E9F0",
month.dayname.borderLeft = "2px solid #E5E9F0",
common.backgroundColor = "#2E3440",
common.holiday.color = "#88C0D0",
common.saturday.color = "#88C0D0",
common.dayname.color = "#ECEFF4",
common.today.color = "#333"
)
[Package toastui version 0.3.3 Index]