Theme
info
This page lists all available properties of the theme
object and its purpose.
All properties are optional.
theme_color
#
The theme_color
property sets the default color of the theme. It is used across the whole calendar component ( ex: calendar display background ), but can be overridden by other properties, in case a more specific one is setted.
main_background
#
The main_background
property sets the background color of the main container of the datepicker.
active_text_color
#
The active_text_color
property sets the color of the text of the active day.
inactive_text_color
#
The inactive_text_color
property sets the color of the text of the inactive day.
display
#
The display
property takes an object with two options, background
and foreground
, that sets the background and the text colors of the calendar display.
picker
#
Similar to the display
property, the picker
property takes an object with two options, background
and foreground
, that sets the background and the text colors of the calendar picker.
picker_header
#
The picker_header
property takes an object with two options, active
and inactive
, that sets the text color of the calendar picker header (month name, year and navigation rows).
weekday
#
The weekday
property accepts one option, foreground
that sets the text color of the calendar weekdays.
button
#
The button
property takes an object with two properties, success
and danger
, that represents the type of the button, and sets the text color of the button.
date
#
The date
property takes an object with tree properties, active
, inactive
, and marcked
, that represents the type of the date.
date.active
#
The active
date type has tree states default
, picked
, and today
. Each state has a foreground
option that sets the text color of the date. The picked
and today
states also have a background
option that sets the background color of the date.
date.inactive
#
Similar to the active
date type, the inactive
date type has tree states default
, picked
, and today
. Each state has a foreground
option . The picked
and today
states also have a background
option.
date.marcked
#
The marcked
date type has a foreground
option that sets the text color of the marcked date.
month_year_preview
#
The month_year_preview
property takes an object with two properties, active
and inactive
, that represents the type of the month and year preview cells. Both types accepts the following properties, default
and picked
.
The picked
preview cell accepts two options foreground
and background
, that sets the text color of the preview cell and respectively the background.
The active
preview cell accepts only one option, foreground
.
#
DefaultsDefault theme configuration object: