New to Kendo UI for Angular? Start a free 30-day trial

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-familyString$kendo-font-familyinherit
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-md1.4285714286
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-text#666666
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-heightNumber18px18px
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-bgColor$kendo-toolbar-bg#fafafa
Description
The background color of the Chat Toolbar.
$kendo-chat-toolbar-textColor$kendo-toolbar-text#424242
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-height18px
Description
The line height of the Chat quick reply.
$kendo-chat-bgColor$kendo-app-bg#fafafa
Description
The background color of the Chat.
$kendo-chat-textColor$kendo-app-text#424242
Description
The text color of the Chat.
$kendo-chat-borderColor$kendo-app-borderrgba(0, 0, 0, 0.08)
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-text#424242
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-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-bgColor$kendo-color-primary#ff6358
Description
The background color of the Chat alt bubble.
$kendo-chat-alt-bubble-textColorif($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $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#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-textColor$kendo-color-primary#ff6358
Description
The text color of the Chat quick reply.
$kendo-chat-quick-reply-borderColor$kendo-color-primary#ff6358
Description
The border color of the Chat quick reply.
$kendo-chat-quick-reply-hover-bgColor$kendo-color-primary#ff6358
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#ff6358
Description
The border color of the hovered Chat quick reply.

In this article

Not finding the help you need?