Customizing Chat

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-chat-padding-xStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The horizontal padding of the Chat.
$kendo-chat-padding-yStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The vertical padding of the Chat.
$kendo-chat-widthNumber500px500px
Description
The width of the Chat.
$kendo-chat-heightNumber600px600px
Description
The height of the Chat.
$kendo-chat-border-widthNumber1px1px
Description
The border width of the Chat.
$kendo-chat-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Chat.
$kendo-chat-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the Chat.
$kendo-chat-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Chat.
$kendo-chat-item-spacing-xStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The horizontal spacing between the items of the Chat.
$kendo-chat-item-spacing-yStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The vertical spacing between the items of the Chat.
$kendo-chat-message-list-padding-xString$kendo-chat-padding-xvar(--kendo-spacing-4, 1rem)
Description
The horizontal padding of the Chat message list.
$kendo-chat-message-list-padding-yString$kendo-chat-padding-yvar(--kendo-spacing-4, 1rem)
Description
The vertical padding of the Chat message list.
$kendo-chat-message-list-spacingString$kendo-chat-item-spacing-yvar(--kendo-spacing-4, 1rem)
Description
The spacing of the Chat message list.
$kendo-chat-timestamp-font-sizeStringsmallersmaller
Description
The font size of the Chat timestamp.
$kendo-chat-timestamp-line-heightNullnullnull
Description
The line height of the Chat timestamp.
$kendo-chat-timestamp-transformStringuppercaseuppercase
Description
The text transform of the Chat timestamp.
$kendo-chat-timestamp-textString$kendo-subtle-textvar(--kendo-color-subtle, #757575)
Description
The text color of the Chat timestamp.
$kendo-chat-timestamp-bgNullnullnull
Description
The background color of the Chat timestamp.
$kendo-chat-bubble-padding-xStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The horizontal padding of the Chat bubble message.
$kendo-chat-bubble-padding-yStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the Chat bubble message.
$kendo-chat-bubble-spacingStringk-spacing(0.5)var(--kendo-spacing-0\.5, 0.125rem)
Description
The spacing of the Chat bubble message.
$kendo-chat-bubble-line-heightNumber1.251.25
Description
The line height of the Chat bubble message.
$kendo-chat-bubble-border-radiusNumber12px12px
Description
The border radius of the Chat bubble message.
$kendo-chat-bubble-border-radius-smNumber2px2px
Description
The border radius of the Chat small bubble message
$kendo-chat-avatar-sizeNumber32px32px
Description
The size of the Chat Avatar.
$kendo-chat-avatar-spacingString$kendo-chat-item-spacing-xvar(--kendo-spacing-2, 0.5rem)
Description
The spacing of the Chat Avatar.
$kendo-chat-toolbar-padding-xString$kendo-toolbar-md-padding-xvar(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the Chat Toolbar.
$kendo-chat-toolbar-padding-yString$kendo-toolbar-md-padding-yvar(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the Chat Toolbar.
$kendo-chat-toolbar-spacingString$kendo-toolbar-md-spacingvar(--kendo-spacing-2, 0.5rem)
Description
The spacing of the Chat Toolbar.
$kendo-chat-toolbar-bgStringif($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .5 ))var(--kendo-color-surface, #f5f5f5)
Description
The background color of the Chat Toolbar.
$kendo-chat-toolbar-textString$kendo-toolbar-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the Chat Toolbar.
$kendo-chat-toolbar-borderStringinheritinherit
Description
The border color of the Chat Toolbar.
$kendo-chat-quick-reply-padding-xStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The horizontal padding of the Chat quick reply.
$kendo-chat-quick-reply-padding-yStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the Chat quick reply.
$kendo-chat-quick-reply-spacingStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The spacing of the Chat quick reply.
$kendo-chat-quick-reply-line-heightNumber$kendo-chat-bubble-line-height1.25
Description
The line height of the Chat quick reply.
$kendo-chat-bgString$kendo-app-bgvar(--kendo-color-app-surface, #ffffff)
Description
The background color of the Chat.
$kendo-chat-textString$kendo-component-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the Chat.
$kendo-chat-borderString$kendo-component-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.12))
Description
The border color of the Chat.
$kendo-chat-bubble-bgString$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the Chat bubble.
$kendo-chat-bubble-textString$kendo-component-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the Chat bubble.
$kendo-chat-bubble-borderString$kendo-chat-bubble-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The border color of the Chat bubble.
$kendo-chat-bubble-shadowString$box-shadow-depth-1var(--kendo-elevation-1, 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 2px 1px 0px rgba(0, 0, 0, 0.12), 0px 1px 1px 0px rgba(0, 0, 0, 0.14))
Description
The box shadow of the Chat bubble.
$kendo-chat-bubble-hover-shadowString$box-shadow-depth-2var(--kendo-elevation-2, 0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 3px 1px 0px rgba(0, 0, 0, 0.12), 0px 2px 2px 0px rgba(0, 0, 0, 0.14))
Description
The shadow of the hovered Chat bubble.
$kendo-chat-bubble-selected-shadowString$box-shadow-depth-3var(--kendo-elevation-3, 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 3px 0px rgba(0, 0, 0, 0.12), 0px 3px 4px 0px rgba(0, 0, 0, 0.14))
Description
The shadow of the selected Chat bubble.
$kendo-chat-alt-bubble-bgString$kendo-color-primaryvar(--kendo-color-primary, #3f51b5)
Description
The background color of the Chat alt bubble.
$kendo-chat-alt-bubble-textStringif($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-chat-alt-bubble-bg ))var(--kendo-color-on-primary, #ffffff)
Description
The text color of the Chat alt bubble.
$kendo-chat-alt-bubble-borderString$kendo-chat-alt-bubble-bgvar(--kendo-color-primary, #3f51b5)
Description
The border color of the Chat alt bubble.
$kendo-chat-alt-bubble-shadowString$box-shadow-depth-1var(--kendo-elevation-1, 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 2px 1px 0px rgba(0, 0, 0, 0.12), 0px 1px 1px 0px rgba(0, 0, 0, 0.14))
Description
The shadow of the Chat alt bubble.
$kendo-chat-alt-bubble-hover-shadowString$box-shadow-depth-2var(--kendo-elevation-2, 0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 3px 1px 0px rgba(0, 0, 0, 0.12), 0px 2px 2px 0px rgba(0, 0, 0, 0.14))
Description
The shadow of the hovered Chat alt bubble.
$kendo-chat-alt-bubble-selected-shadowString$box-shadow-depth-3var(--kendo-elevation-3, 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 3px 0px rgba(0, 0, 0, 0.12), 0px 3px 4px 0px rgba(0, 0, 0, 0.14))
Description
The shadow of the selected Chat alt bubble.
$kendo-chat-quick-reply-bgColortransparenttransparent
Description
The background color of the Chat quick reply.
$kendo-chat-quick-reply-textString$kendo-color-primaryvar(--kendo-color-primary, #3f51b5)
Description
The text color of the Chat quick reply.
$kendo-chat-quick-reply-borderString$kendo-color-primaryvar(--kendo-color-primary, #3f51b5)
Description
The border color of the Chat quick reply.
$kendo-chat-quick-reply-hover-bgString$kendo-color-primaryvar(--kendo-color-primary, #3f51b5)
Description
The background color of the hovered Chat quick reply.
$kendo-chat-quick-reply-hover-textString$kendo-color-primary-contrastvar(--kendo-color-on-primary, #ffffff)
Description
The text color of the hovered Chat quick reply.
$kendo-chat-quick-reply-hover-borderString$kendo-color-primaryvar(--kendo-color-primary, #3f51b5)
Description
The border color of the hovered Chat quick reply.

In this article

Not finding the help you need?