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-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Calendar.
$kendo-calendar-cell-sizeNumber38px38px
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, #212529)
Description
The text color of the Calendar.
$kendo-calendar-borderString$kendo-component-bordervar(--kendo-color-border, #dee2e6)
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-widthNumber1px1px
Description
The border width of the header in the Calendar.
$kendo-calendar-header-bgString$kendo-component-header-bgvar(--kendo-color-surface, #f8f9fa)
Description
The background color of the header in the Calendar.
$kendo-calendar-header-textString$kendo-component-header-textvar(--kendo-color-on-app-surface, #212529)
Description
The text color of the header in the Calendar.
$kendo-calendar-header-borderString$kendo-component-header-bordervar(--kendo-color-border, #dee2e6)
Description
The border color of the header in the Calendar.
$kendo-calendar-header-gradientNull$kendo-component-header-gradientnull
Description
The gradient of the header in the Calendar.
$kendo-calendar-header-shadowStringnonenone
Description
The box 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-xStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The horizontal padding of the cells in the Calendar.
$kendo-calendar-cell-padding-yStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The vertical padding of the cells in the Calendar.
$kendo-calendar-cell-line-heightString$kendo-calendar-line-heightvar(--kendo-line-height, normal)
Description
The line height of the cells in the Calendar.
$kendo-calendar-cell-border-radiusStringk-border-radius(md)var(--kendo-border-radius-md, 0.375rem)
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-size38px
Description
The width of the header cells in the Calendar.
$kendo-calendar-header-cell-heightNumber$kendo-calendar-cell-size38px
Description
The height of the header cells in the Calendar.
$kendo-calendar-header-cell-font-sizeStringvar( --kendo-font-size-sm, inherit )var(--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, #606970)
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(3)var(--kendo-spacing-3, 0.75rem)
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-size38px
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.875rem
Description
The font size of the week number cells in the Calendar.
$kendo-calendar-view-widthNumber($kendo-calendar-cell-size * 8)304px
Description
The width of the Calendar view.
$kendo-calendar-view-heightNumber($kendo-calendar-cell-size * 7)266px
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-weekend-textNullnullnull
Description
The text color of the weekend cells in the Calendar.
$kendo-calendar-today-styleStringboxbox
Description
The style of the current day in the Calendar.
$kendo-calendar-today-colorString$kendo-color-primaryvar(--kendo-color-primary, #0d6efd)
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, #606970)
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, #606970)
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-subtle-hover, #dee2e6)
Description
The background color of the hovered cells in the Calendar.
$kendo-calendar-cell-hover-textString$kendo-hover-textvar(--kendo-color-on-app-surface, #212529)
Description
The text color of the hovered cells in the Calendar.
$kendo-calendar-cell-hover-borderString$kendo-hover-bordervar(--kendo-color-border, #dee2e6)
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-selected-bgvar(--kendo-color-primary, #0d6efd)
Description
The background color of the selected cells in the Calendar.
$kendo-calendar-cell-selected-textString$kendo-selected-textvar(--kendo-color-on-primary, #ffffff)
Description
The text color of the selected cells in the Calendar.
$kendo-calendar-cell-selected-borderString$kendo-selected-bordervar(--kendo-color-primary, #0d6efd)
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-bgString$kendo-selected-hover-bgvar(--kendo-color-primary-hover, #0b5ed7)
Description
The background color of the selected and hovered cells in the Calendar.
$kendo-calendar-cell-selected-hover-textString$kendo-selected-hover-textvar(--kendo-color-on-primary, #ffffff)
Description
The text color of the selected and hovered cells in the Calendar.
$kendo-calendar-cell-selected-hover-borderString$kendo-selected-hover-bordervar(--kendo-color-border, #dee2e6)
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-shadowListinset $kendo-button-focus-shadowinset (0 0 0 0.25rem color-mix(in srgb, var(--kendo-color-border, #dee2e6) 50%, transparent))
Description
The shadow of the focused cells in the Calendar.
$kendo-calendar-cell-selected-focus-shadowListinset 0 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( primary-active ) 50%, transparent), rgba( k-color-darken( $kendo-color-primary, 12.5% ), .5 ))inset 0 0 0 2px color-mix(in srgb, var(--kendo-color-primary-active, #0a58ca) 50%, transparent)
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-bgString$kendo-calendar-header-bgvar(--kendo-color-surface, #f8f9fa)
Description
The background color of the Calendar navigation.
$kendo-calendar-navigation-textString$kendo-calendar-header-textvar(--kendo-color-on-app-surface, #212529)
Description
The text color of the Calendar navigation.
$kendo-calendar-navigation-borderString$kendo-calendar-header-bordervar(--kendo-color-border, #dee2e6)
Description
The border color of the Calendar navigation.
$kendo-calendar-navigation-hover-textString$kendo-link-hover-textvar(--kendo-color-primary-hover, #0b5ed7)
Description
The text color of the hovered items in 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 )342px
Description
The height of the Calendar view in the Infinite Calendar.
$kendo-calendar-range-cell-border-radiusStringk-border-radius(lg)var(--kendo-border-radius-lg, 0.5rem)
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-sizeNumber34px34px
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-sizeNumber38px38px
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-sizeNumber42px42px
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: 34px, 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: 38px, 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: 42px, 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?