Customizing Chat

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-chat-transitionStringvar( --kendo-transition, inherit )var(--kendo-transition, inherit)
Description
The box shadow transition of the Chat.
$kendo-chat-link-hover-textStringvar( --kendo-link-hover-text, inherit )var(--kendo-link-hover-text, inherit)
Description
The hover text color of the Chat bubble links.
$kendo-chat-link-textStringvar( --kendo-link-text, inherit )var(--kendo-link-text, inherit)
Description
The text color of the Chat bubble links.
$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-typing-indicator-dot-sizeNumber8px8px
Description
The size of the Chat typing indicator dot.
$kendo-chat-typing-indicator-dot-spacingCalculationcalc( #{k-spacing(2.5)} / 2 )calc(var(--kendo-spacing-2\.5, 0.625rem) / 2)
Description
The spacing of the Chat typing indicator dot.
$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-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Chat timestamp.
$kendo-chat-timestamp-transformStringuppercaseuppercase
Description
The text transform of the Chat timestamp.
$kendo-chat-timestamp-textStringvar( --kendo-subtle-text, inherit )var(--kendo-subtle-text, inherit)
Description
The text color of the Chat timestamp.
$kendo-chat-timestamp-bgStringnormalnormal
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-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Chat bubble message.
$kendo-chat-scroll-buttonStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The spacing of the Chat scroll button.
$kendo-card-deck-scrollbar-sizeNumber20px20px
Description
The size of the Chat Card deck scrollbar.
$kendo-chat-bubble-border-radiusStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The border radius of the Chat bubble message.
$kendo-chat-bubble-border-radius-smStringvar( --kendo-border-radius, 0 )var(--kendo-border-radius, 0)
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, #faf9f8)
Description
The background color of the Chat Toolbar.
$kendo-chat-toolbar-textString$kendo-toolbar-textvar(--kendo-component-text, inherit)
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-bgStringif($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 ))var(--kendo-color-surface, #faf9f8)
Description
The background color of the Chat.
$kendo-chat-textStringif($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 ))var(--kendo-color-on-app-surface, #323130)
Description
The text color of the Chat.
$kendo-chat-borderStringif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 ))color-mix(in srgb, var(--kendo-color-border, #8a8886) 16%, transparent)
Description
The border color of the Chat.
$kendo-chat-bubble-bgStringvar( --kendo-component-bg, inherit )var(--kendo-component-bg, inherit)
Description
The background color of the Chat bubble.
$kendo-chat-bubble-textStringvar( --kendo-component-text, inherit )var(--kendo-component-text, inherit)
Description
The text color of the Chat bubble.
$kendo-chat-bubble-borderString$kendo-chat-bubble-bgvar(--kendo-component-bg, inherit)
Description
The border color of the Chat bubble.
$kendo-chat-bubble-shadowStringvar( --kendo-box-shadow-depth-1, none )var(--kendo-box-shadow-depth-1, none)
Description
The box shadow of the Chat bubble.
$kendo-chat-bubble-hover-shadowStringvar( --kendo-box-shadow-depth-2, none )var(--kendo-box-shadow-depth-2, none)
Description
The shadow of the hovered Chat bubble.
$kendo-chat-bubble-selected-shadowStringvar( --kendo-box-shadow-depth-3, none )var(--kendo-box-shadow-depth-3, none)
Description
The shadow of the selected Chat bubble.
$kendo-chat-alt-bubble-bgStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The background color of the Chat alt bubble.
$kendo-chat-alt-bubble-textStringvar( --kendo-component-bg, inherit )var(--kendo-component-bg, inherit)
Description
The text color of the Chat alt bubble.
$kendo-chat-alt-bubble-borderString$kendo-chat-alt-bubble-bgvar(--kendo-color-primary, #0078d4)
Description
The border color of the Chat alt bubble.
$kendo-chat-alt-bubble-shadowStringvar( --kendo-box-shadow-depth-1, none )var(--kendo-box-shadow-depth-1, none)
Description
The shadow of the Chat alt bubble.
$kendo-chat-alt-bubble-hover-shadowStringvar( --kendo-box-shadow-depth-2, none )var(--kendo-box-shadow-depth-2, none)
Description
The shadow of the hovered Chat alt bubble.
$kendo-chat-alt-bubble-selected-shadowStringvar( --kendo-box-shadow-depth-3, none )var(--kendo-box-shadow-depth-3, none)
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-textStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The text color of the Chat quick reply.
$kendo-chat-quick-reply-borderStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The border color of the Chat quick reply.
$kendo-chat-quick-reply-hover-bgStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The background color of the hovered Chat quick reply.
$kendo-chat-quick-reply-hover-textStringvar( --kendo-component-bg, inherit )var(--kendo-component-bg, inherit)
Description
The text color of the hovered Chat quick reply.
$kendo-chat-quick-reply-hover-borderStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The border color of the hovered Chat quick reply.

In this article

Not finding the help you need?