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-sizeStringvar( --kendo-font-size-sm, inherit )var(--kendo-font-size-sm, inherit)
Description
The font size of the Chat timestamp.
$kendo-chat-timestamp-line-heightStringvar( --kendo-line-height-lg, normal )var(--kendo-line-height-lg, normal)
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, #666666)
Description
The text color of the Chat timestamp.
$kendo-chat-timestamp-bgNullnullnull
Description
The background color of the Chat timestamp.
$kendo-chat-message-meta-font-sizeStringvar( --kendo-font-size-sm, inherit )var(--kendo-font-size-sm, inherit)
Description
The font size of the Chat message meta text.
$kendo-chat-message-meta-line-heightStringvar( --kendo-line-height-lg, normal )var(--kendo-line-height-lg, normal)
Description
The line height of the Chat message meta text.
$kendo-chat-author-font-sizeStringvar( --kendo-font-size-sm, inherit )var(--kendo-font-size-sm, inherit)
Description
The font size of the Chat author text.
$kendo-chat-author-line-heightStringvar( --kendo-line-height-lg, normal )var(--kendo-line-height-lg, normal)
Description
The line height of the Chat author text.
$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-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
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-bgString$kendo-toolbar-bgvar(--kendo-color-surface, #fafafa)
Description
The background color of the Chat Toolbar.
$kendo-chat-toolbar-textString$kendo-toolbar-textvar(--kendo-color-on-app-surface, #3d3d3d)
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-heightString$kendo-chat-bubble-line-heightvar(--kendo-line-height, normal)
Description
The line height of the Chat quick reply.
$kendo-chat-bgString$kendo-app-bgvar(--kendo-color-surface, #fafafa)
Description
The background color of the Chat.
$kendo-chat-textString$kendo-app-textvar(--kendo-color-on-app-surface, #3d3d3d)
Description
The text color of the Chat.
$kendo-chat-borderString$kendo-app-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))
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, #3d3d3d)
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-shadowStringk-elevation(1)var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12))
Description
The box shadow of the Chat bubble.
$kendo-chat-bubble-hover-shadowStringk-elevation(2)var(--kendo-elevation-2, 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12))
Description
The shadow of the hovered Chat bubble.
$kendo-chat-bubble-selected-shadowStringk-elevation(3)var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12))
Description
The shadow of the selected Chat bubble.
$kendo-chat-alt-bubble-bgString$kendo-color-primaryvar(--kendo-color-primary, #ff6358)
Description
The background color of the Chat alt bubble.
$kendo-chat-alt-bubble-textStringif($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $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, #ff6358)
Description
The border color of the Chat alt bubble.
$kendo-chat-alt-bubble-shadowStringk-elevation(1)var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12))
Description
The shadow of the Chat alt bubble.
$kendo-chat-alt-bubble-hover-shadowStringk-elevation(2)var(--kendo-elevation-2, 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12))
Description
The shadow of the hovered Chat alt bubble.
$kendo-chat-alt-bubble-selected-shadowStringk-elevation(3)var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12))
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, #ff6358)
Description
The text color of the Chat quick reply.
$kendo-chat-quick-reply-borderString$kendo-color-primaryvar(--kendo-color-primary, #ff6358)
Description
The border color of the Chat quick reply.
$kendo-chat-quick-reply-hover-bgString$kendo-color-primaryvar(--kendo-color-primary, #ff6358)
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, #ff6358)
Description
The border color of the hovered Chat quick reply.
$kendo-chat-quick-reply-shadow-blurNumber0px0px
Description
The shadow blur of the focused Chat quick reply.
$kendo-chat-quick-reply-shadow-spreadNumber2px2px
Description
The shadow spread of the focused Chat quick reply.
$kendo-chat-quick-reply-shadow-opacityNumber.30.3
Description
The shadow opacity of the focused Chat quick reply.

In this article

Not finding the help you need?