Customizing Chat

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-chat-padding-xNumber16px16px
Description
The horizontal padding of the Chat.
$kendo-chat-padding-yNumber16px16px
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-familyList$kendo-font-familyRoboto, "Helvetica Neue", sans-serif
Description
The font family of the Chat.
$kendo-chat-font-sizeNumber$kendo-font-size-md14px
Description
The font size of the Chat.
$kendo-chat-line-heightNumber$kendo-line-height-md2
Description
The line height of the Chat.
$kendo-chat-item-spacing-xNumber8px8px
Description
The horizontal spacing between the items of the Chat.
$kendo-chat-item-spacing-yNumber16px16px
Description
The vertical spacing between the items of the Chat.
$kendo-chat-message-list-padding-xNumber$kendo-chat-padding-x16px
Description
The horizontal padding of the Chat message list.
$kendo-chat-message-list-padding-yNumber$kendo-chat-padding-y16px
Description
The vertical padding of the Chat message list.
$kendo-chat-message-list-spacingNumber$kendo-chat-item-spacing-y16px
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-textColor$kendo-subtle-textrgba(0, 0, 0, 0.54)
Description
The text color of the Chat timestamp.
$kendo-chat-timestamp-bgNullnullnull
Description
The background color of the Chat timestamp.
$kendo-chat-bubble-padding-xNumber12px12px
Description
The horizontal padding of the Chat bubble message.
$kendo-chat-bubble-padding-yNumber8px8px
Description
The vertical padding of the Chat bubble message.
$kendo-chat-bubble-spacingNumber2px2px
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-spacingNumber$kendo-chat-item-spacing-x8px
Description
The spacing of the Chat Avatar.
$kendo-chat-toolbar-padding-xNumber$kendo-toolbar-md-padding-x8px
Description
The horizontal padding of the Chat Toolbar.
$kendo-chat-toolbar-padding-yNumber$kendo-toolbar-md-padding-y8px
Description
The vertical padding of the Chat Toolbar.
$kendo-chat-toolbar-spacingNumber$kendo-toolbar-md-spacing8px
Description
The spacing of the Chat Toolbar.
$kendo-chat-toolbar-bgColorif($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .5 ))whitesmoke
Description
The background color of the Chat Toolbar.
$kendo-chat-toolbar-textColor$kendo-toolbar-textrgba(0, 0, 0, 0.87)
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-xNumber12px12px
Description
The horizontal padding of the Chat quick reply.
$kendo-chat-quick-reply-padding-yNumber8px8px
Description
The vertical padding of the Chat quick reply.
$kendo-chat-quick-reply-spacingNumber8px8px
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-bgColor$kendo-app-bg#ffffff
Description
The background color of the Chat.
$kendo-chat-textColor$kendo-component-textrgba(0, 0, 0, 0.87)
Description
The text color of the Chat.
$kendo-chat-borderColor$kendo-component-borderrgba(0, 0, 0, 0.12)
Description
The border color of the Chat.
$kendo-chat-bubble-bgColor$kendo-component-bg#ffffff
Description
The background color of the Chat bubble.
$kendo-chat-bubble-textColor$kendo-component-textrgba(0, 0, 0, 0.87)
Description
The text color of the Chat bubble.
$kendo-chat-bubble-borderColor$kendo-chat-bubble-bg#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-bgColor$kendo-color-primary#3f51b5
Description
The background color of the Chat alt bubble.
$kendo-chat-alt-bubble-textColorif($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-chat-alt-bubble-bg ))white
Description
The text color of the Chat alt bubble.
$kendo-chat-alt-bubble-borderColor$kendo-chat-alt-bubble-bg#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-textColor$kendo-color-primary#3f51b5
Description
The text color of the Chat quick reply.
$kendo-chat-quick-reply-borderColor$kendo-color-primary#3f51b5
Description
The border color of the Chat quick reply.
$kendo-chat-quick-reply-hover-bgColor$kendo-color-primary#3f51b5
Description
The background color of the hovered Chat quick reply.
$kendo-chat-quick-reply-hover-textColor$kendo-color-primary-contrastwhite
Description
The text color of the hovered Chat quick reply.
$kendo-chat-quick-reply-hover-borderColor$kendo-color-primary#3f51b5
Description
The border color of the hovered Chat quick reply.

In this article

Not finding the help you need?