Customizing Calendar

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-calendar-border-widthNumber1px1px
Description
The width of the border around the Calendar.
$kendo-calendar-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Calendar.
$kendo-calendar-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the Calendar.
$kendo-calendar-line-heightNumberk-math-div( 20, 14 )1.4285714286
Description
The line height of the Calendar.
$kendo-calendar-cell-sizeNumber36px36px
Description
The size of the cells in the Calendar.
$kendo-calendar-bgString$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the Calendar.
$kendo-calendar-textString$kendo-component-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the Calendar.
$kendo-calendar-borderString$kendo-component-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.12))
Description
The border color of the Calendar.
$kendo-calendar-header-padding-xStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The horizontal padding of the header in the Calendar.
$kendo-calendar-header-padding-yStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The vertical padding of the header in the Calendar.
$kendo-calendar-header-border-widthNumber0px0px
Description
The height of the header in the Calendar.
$kendo-calendar-header-bgNullnullnull
Description
The background color of the header in the Calendar.
$kendo-calendar-header-textString$kendo-component-header-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the header in the Calendar.
$kendo-calendar-header-borderString$kendo-component-header-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.12))
Description
The border color of the header in the Calendar.
$kendo-calendar-header-gradientNullnullnull
Description
The gradient of the header in the Calendar.
$kendo-calendar-header-shadowNullnullnull
Description
The shadow of the header in the Calendar.
$kendo-calendar-nav-gapNullnullnull
Description
The gap between the items in the navigation of the Calendar.
$kendo-calendar-footer-padding-xStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The horizontal padding of the footer in the Calendar.
$kendo-calendar-footer-padding-yStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the footer in the Calendar.
$kendo-calendar-cell-padding-xNumber.25em0.25em
Description
The horizontal padding of the cells in the Calendar.
$kendo-calendar-cell-padding-yNumber$kendo-calendar-cell-padding-x0.25em
Description
The vertical padding of the cells in the Calendar.
$kendo-calendar-cell-line-heightNumber$kendo-calendar-line-height1.4285714286
Description
The line height of the cells in the Calendar.
$kendo-calendar-cell-border-radiusNumber100px100px
Description
The border radius of the cells in the Calendar.
$kendo-calendar-header-cell-padding-xNullnullnull
Description
The horizontal padding of the header cells in the Calendar.
$kendo-calendar-header-cell-padding-yNullnullnull
Description
The vertical padding of the header cells in the Calendar.
$kendo-calendar-header-cell-widthNumber$kendo-calendar-cell-size36px
Description
The width of the header cells in the Calendar.
$kendo-calendar-header-cell-heightNumber$kendo-calendar-cell-size36px
Description
The height of the header cells in the Calendar.
$kendo-calendar-header-cell-font-sizeStringvar( --kendo-font-size-sm, inherit )!defaultvar(--kendo-font-size-sm, inherit)
Description
The font size of the header cells in the Calendar.
$kendo-calendar-header-cell-line-heightNumber22
Description
The line height of the header cells in the Calendar.
$kendo-calendar-header-cell-bgNullnullnull
Description
The background color of the header cells in the Calendar.
$kendo-calendar-header-cell-textString$kendo-subtle-textvar(--kendo-color-subtle, #757575)
Description
The text color of the header cells in the Calendar.
$kendo-calendar-header-cell-opacityNullnullnull
Description
The opacity of the header cells in the Calendar.
$kendo-calendar-caption-padding-xStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The horizontal padding of the caption in the Calendar.
$kendo-calendar-caption-padding-yStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The vertical padding of the caption in the Calendar.
$kendo-calendar-caption-heightNumber$kendo-calendar-cell-size36px
Description
The height of the caption in the Calendar.
$kendo-calendar-caption-font-sizeNullnullnull
Description
The font size of the caption in the Calendar.
$kendo-calendar-caption-line-heightNullnullnull
Description
The line height of the caption in the Calendar.
$kendo-calendar-caption-font-weightStringboldbold
Description
The font weight of the caption in the Calendar.
$kendo-calendar-week-number-font-sizeNumber$kendo-font-size-sm0.75rem
Description
The font size of the week number cells in the Calendar.
$kendo-calendar-view-widthNumber($kendo-calendar-cell-size * 8)288px
Description
The width of the Calendar view.
$kendo-calendar-view-heightNumber($kendo-calendar-cell-size * 7)252px
Description
The height of the Calendar view.
$kendo-calendar-view-gapStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The gap between the items in the Calendar view.
$kendo-calendar-weekend-bgNullnullnull
Description
The background color of the weekend cells in the Calendar.
$kendo-calendar-today-styleStringcolorcolor
Description
The style of the current day in the Calendar.
$kendo-calendar-today-colorString$kendo-color-primaryvar(--kendo-color-primary, #3f51b5)
Description
The color of the current day in the Calendar.
$kendo-calendar-week-number-bgNullnullnull
Description
The background color of the week number cells in the Calendar.
$kendo-calendar-week-number-textString$kendo-calendar-header-cell-textvar(--kendo-color-subtle, #757575)
Description
The text color of the week number cells in the Calendar.
$kendo-calendar-other-month-bgNullnullnull
Description
The background color of the preceding/subsequent month cells in the Calendar.
$kendo-calendar-other-month-textString$kendo-calendar-header-cell-textvar(--kendo-color-subtle, #757575)
Description
The text color of the preceding/subsequent month cells in the Calendar.
$kendo-calendar-cell-bgNullnullnull
Description
The background color of the cells in the Calendar.
$kendo-calendar-cell-textNullnullnull
Description
The text color of the cells in the Calendar.
$kendo-calendar-cell-borderNullnullnull
Description
The border color of the cells in the Calendar.
$kendo-calendar-cell-gradientNullnullnull
Description
The gradient of the cells in the Calendar.
$kendo-calendar-cell-hover-bgString$kendo-hover-bgvar(--kendo-color-base-hover, #ebebeb)
Description
The background color of the hovered cells in the Calendar.
$kendo-calendar-cell-hover-textString$kendo-hover-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the hovered cells in the Calendar.
$kendo-calendar-cell-hover-borderString$kendo-hover-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.12))
Description
The border color of the hovered cells in the Calendar.
$kendo-calendar-cell-hover-gradientNullnullnull
Description
The gradient of the hovered cells in the Calendar.
$kendo-calendar-cell-selected-bgString$kendo-color-primaryvar(--kendo-color-primary, #3f51b5)
Description
The background color of the selected cells in the Calendar.
$kendo-calendar-cell-selected-textStringif($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-calendar-cell-selected-bg ))var(--kendo-color-on-primary, #ffffff)
Description
The text color of the selected cells in the Calendar.
$kendo-calendar-cell-selected-borderString$kendo-calendar-cell-selected-bgvar(--kendo-color-primary, #3f51b5)
Description
The border color of the selected cells in the Calendar.
$kendo-calendar-cell-selected-gradientNullnullnull
Description
The gradient of the selected cells in the Calendar.
$kendo-calendar-cell-selected-hover-bgStringif($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-calendar-cell-selected-bg, .5 ))var(--kendo-color-primary-hover, #3a4ba7)
Description
The background color of the selected and hovered cells in the Calendar.
$kendo-calendar-cell-selected-hover-textString$kendo-calendar-cell-selected-textvar(--kendo-color-on-primary, #ffffff)
Description
The text color of the selected and hovered cells in the Calendar.
$kendo-calendar-cell-selected-hover-borderNullnullnull
Description
The border color of the selected and hovered cells in the Calendar.
$kendo-calendar-cell-selected-hover-gradientNullnullnull
Description
The gradient of the selected and hovered cells in the Calendar.
$kendo-calendar-cell-focus-shadowNull$kendo-list-item-focus-shadownull
Description
The shadow of the focused cells in the Calendar.
$kendo-calendar-cell-selected-focus-shadowNull$kendo-calendar-cell-focus-shadownull
Description
The shadow of the selected and focused cells in the Calendar.
$kendo-calendar-navigation-widthNumber5em5em
Description
The width of the Calendar navigation.
$kendo-calendar-navigation-item-heightNumber2em2em
Description
The height of the items in the Calendar navigation.
$kendo-calendar-navigation-bgStringif($kendo-enable-color-system, k-color( surface ), k-true-mix( $kendo-calendar-text, $kendo-calendar-bg, 3))var(--kendo-color-surface, #f5f5f5)
Description
The background color of the Calendar navigation.
$kendo-calendar-navigation-textString$kendo-calendar-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the Calendar navigation.
$kendo-calendar-navigation-borderString$kendo-calendar-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.12))
Description
The border color of the Calendar navigation.
$kendo-infinite-calendar-header-padding-xStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The horizontal padding of the header in the Infinite Calendar.
$kendo-infinite-calendar-header-padding-yStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the header in the Infinite Calendar.
$kendo-infinite-calendar-view-padding-xStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The horizontal padding of the Calendar view in the Infinite Calendar.
$kendo-infinite-calendar-view-padding-yStringk-spacing(0)var(--kendo-spacing-0, 0px)
Description
The vertical padding of the Calendar view in the Infinite Calendar.
$kendo-infinite-calendar-view-heightNumber( $kendo-calendar-cell-size * 9 )324px
Description
The height of the Calendar view in the Infinite Calendar.
$kendo-calendar-range-cell-border-radiusStringk-border-radius(full)var(--kendo-border-radius-full, 9999px)
Description
The border radius of the range cells in the Multiview Calendar.
$kendo-calendar-sm-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the small Calendar.
$kendo-calendar-sm-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the small Calendar.
$kendo-calendar-sm-cell-sizeNumber32px32px
Description
The size of the cells in the small Calendar.
$kendo-calendar-sm-cell-padding-xStringk-spacing(0.5)var(--kendo-spacing-0\.5, 0.125rem)
Description
The horizontal padding of the cells in the small Calendar.
$kendo-calendar-sm-cell-padding-yStringk-spacing(0.5)var(--kendo-spacing-0\.5, 0.125rem)
Description
The vertical padding of the cells in the small Calendar.
$kendo-calendar-md-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the medium Calendar.
$kendo-calendar-md-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the medium Calendar.
$kendo-calendar-md-cell-sizeNumber36px36px
Description
The size of the cells in the medium Calendar.
$kendo-calendar-md-cell-padding-xStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The horizontal padding of the cells in the medium Calendar.
$kendo-calendar-md-cell-padding-yStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The vertical padding of the cells in the medium Calendar.
$kendo-calendar-lg-font-sizeStringvar( --kendo-font-size-lg, inherit )var(--kendo-font-size-lg, inherit)
Description
The font size of the large Calendar.
$kendo-calendar-lg-line-heightStringvar( --kendo-line-height-lg, normal )var(--kendo-line-height-lg, normal)
Description
The line height of the large Calendar.
$kendo-calendar-lg-cell-sizeNumber40px40px
Description
The size of the cells in the large Calendar.
$kendo-calendar-lg-cell-padding-xStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The horizontal padding of the cells in the large Calendar.
$kendo-calendar-lg-cell-padding-yStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The vertical padding of the cells in the large Calendar.
$kendo-calendar-sizesMap( sm: ( font-size: $kendo-calendar-sm-font-size, line-height: $kendo-calendar-sm-line-height, cell-size: $kendo-calendar-sm-cell-size, cell-padding-x: $kendo-calendar-sm-cell-padding-y, cell-padding-y: $kendo-calendar-sm-cell-padding-x ), md: ( font-size: $kendo-calendar-md-font-size, line-height: $kendo-calendar-md-line-height, cell-size: $kendo-calendar-md-cell-size, cell-padding-x: $kendo-calendar-md-cell-padding-y, cell-padding-y: $kendo-calendar-md-cell-padding-x ), lg: ( font-size: $kendo-calendar-lg-font-size, line-height: $kendo-calendar-lg-line-height, cell-size: $kendo-calendar-lg-cell-size, cell-padding-x: $kendo-calendar-lg-cell-padding-y, cell-padding-y: $kendo-calendar-lg-cell-padding-x ) )(sm: (font-size: var(--kendo-font-size, inherit), line-height: var(--kendo-line-height, normal), cell-size: 32px, cell-padding-x: var(--kendo-spacing-0\.5, 0.125rem), cell-padding-y: var(--kendo-spacing-0\.5, 0.125rem)), md: (font-size: var(--kendo-font-size, inherit), line-height: var(--kendo-line-height, normal), cell-size: 36px, cell-padding-x: var(--kendo-spacing-1, 0.25rem), cell-padding-y: var(--kendo-spacing-1, 0.25rem)), lg: (font-size: var(--kendo-font-size-lg, inherit), line-height: var(--kendo-line-height-lg, normal), cell-size: 40px, cell-padding-x: var(--kendo-spacing-1, 0.25rem), cell-padding-y: var(--kendo-spacing-1, 0.25rem)))
Description
The sizes Map of the Calendar.

In this article

Not finding the help you need?