Sass Variables
The Telerik and Kendo UI Chat is a composite UI component. To configure and customize its appearance, use not only its dedicated Sass variables but also the Sass variables provided by the TextBox, Button, and Avatar components.
Variable | Default Value | Computed Value | Value |
---|---|---|---|
kendo-chat-padding-x | k-spacing(4) | var(--kendo-spacing-4, 1rem) | Default: k-spacing(4) Computed: var(--kendo-spacing-4, 1rem) |
Description: The horizontal padding of the Chat. | |||
kendo-chat-padding-y | k-spacing(4) | var(--kendo-spacing-4, 1rem) | Default: k-spacing(4) Computed: var(--kendo-spacing-4, 1rem) |
Description: The vertical padding of the Chat. | |||
kendo-chat-width | 500px | 500px | Default: 500px Computed: 500px |
Description: The width of the Chat. | |||
kendo-chat-height | 600px | 600px | Default: 600px Computed: 600px |
Description: The height of the Chat. | |||
kendo-chat-border-width | 1px | 1px | Default: 1px Computed: 1px |
Description: The border width of the Chat. | |||
kendo-chat-font-family | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) | Default: var( --kendo-font-family, inherit ) Computed: var(--kendo-font-family, inherit) |
Description: The font family of the Chat. | |||
kendo-chat-font-size | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) | Default: var( --kendo-font-size, inherit ) Computed: var(--kendo-font-size, inherit) |
Description: The font size of the Chat. | |||
kendo-chat-line-height | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) | Default: var( --kendo-line-height, normal ) Computed: var(--kendo-line-height, normal) |
Description: The line height of the Chat. | |||
kendo-chat-item-spacing-x | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) | Default: k-spacing(2) Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The horizontal spacing between the items of the Chat. | |||
kendo-chat-item-spacing-y | k-spacing(4) | var(--kendo-spacing-4, 1rem) | Default: k-spacing(4) Computed: var(--kendo-spacing-4, 1rem) |
Description: The vertical spacing between the items of the Chat. | |||
kendo-chat-message-list-padding-x | $kendo-chat-padding-x | var(--kendo-spacing-4, 1rem) | Default: $kendo-chat-padding-x Computed: var(--kendo-spacing-4, 1rem) |
Description: The horizontal padding of the Chat message list. | |||
kendo-chat-message-list-padding-y | $kendo-chat-padding-y | var(--kendo-spacing-4, 1rem) | Default: $kendo-chat-padding-y Computed: var(--kendo-spacing-4, 1rem) |
Description: The vertical padding of the Chat message list. | |||
kendo-chat-message-list-spacing | $kendo-chat-item-spacing-y | var(--kendo-spacing-4, 1rem) | Default: $kendo-chat-item-spacing-y Computed: var(--kendo-spacing-4, 1rem) |
Description: The spacing of the Chat message list. | |||
kendo-chat-timestamp-font-size | var( --kendo-font-size-sm, inherit ) | var(--kendo-font-size-sm, inherit) | Default: var( --kendo-font-size-sm, inherit ) Computed: var(--kendo-font-size-sm, inherit) |
Description: The font size of the Chat timestamp. | |||
kendo-chat-timestamp-line-height | var( --kendo-line-height-lg, normal ) | var(--kendo-line-height-lg, normal) | Default: var( --kendo-line-height-lg, normal ) Computed: var(--kendo-line-height-lg, normal) |
Description: The line height of the Chat timestamp. | |||
kendo-chat-timestamp-transform | uppercase | uppercase | Default: uppercase Computed: uppercase |
Description: The text transform of the Chat timestamp. | |||
kendo-chat-timestamp-text | $kendo-subtle-text | var(--kendo-color-subtle, #666666) | Default: $kendo-subtle-text Computed: var(--kendo-color-subtle, #666666) |
Description: The text color of the Chat timestamp. | |||
kendo-chat-timestamp-bg | null | null | Default: null Computed: null |
Description: The background color of the Chat timestamp. | |||
kendo-chat-message-meta-font-size | var( --kendo-font-size-sm, inherit ) | var(--kendo-font-size-sm, inherit) | Default: var( --kendo-font-size-sm, inherit ) Computed: var(--kendo-font-size-sm, inherit) |
Description: The font size of the Chat message meta text. | |||
kendo-chat-message-meta-line-height | var( --kendo-line-height-lg, normal ) | var(--kendo-line-height-lg, normal) | Default: var( --kendo-line-height-lg, normal ) Computed: var(--kendo-line-height-lg, normal) |
Description: The line height of the Chat message meta text. | |||
kendo-chat-author-font-size | var( --kendo-font-size-sm, inherit ) | var(--kendo-font-size-sm, inherit) | Default: var( --kendo-font-size-sm, inherit ) Computed: var(--kendo-font-size-sm, inherit) |
Description: The font size of the Chat author text. | |||
kendo-chat-author-line-height | var( --kendo-line-height-lg, normal ) | var(--kendo-line-height-lg, normal) | Default: var( --kendo-line-height-lg, normal ) Computed: var(--kendo-line-height-lg, normal) |
Description: The line height of the Chat author text. | |||
kendo-chat-bubble-padding-x | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) | Default: k-spacing(3) Computed: var(--kendo-spacing-3, 0.75rem) |
Description: The horizontal padding of the Chat bubble message. | |||
kendo-chat-bubble-padding-y | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) | Default: k-spacing(2) Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The vertical padding of the Chat bubble message. | |||
kendo-chat-bubble-spacing | k-spacing(0.5) | var(--kendo-spacing-0\.5, 0.125rem) | Default: k-spacing(0.5) Computed: var(--kendo-spacing-0\.5, 0.125rem) |
Description: The spacing of the Chat bubble message. | |||
kendo-chat-bubble-line-height | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) | Default: var( --kendo-line-height, normal ) Computed: var(--kendo-line-height, normal) |
Description: The line height of the Chat bubble message. | |||
kendo-chat-bubble-border-radius | 12px | 12px | Default: 12px Computed: 12px |
Description: The border radius of the Chat bubble message. | |||
kendo-chat-bubble-border-radius-sm | 2px | 2px | Default: 2px Computed: 2px |
Description: The border radius of the Chat small bubble message | |||
kendo-chat-avatar-size | 32px | 32px | Default: 32px Computed: 32px |
Description: The size of the Chat Avatar. | |||
kendo-chat-avatar-spacing | $kendo-chat-item-spacing-x | var(--kendo-spacing-2, 0.5rem) | Default: $kendo-chat-item-spacing-x Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The spacing of the Chat Avatar. | |||
kendo-chat-toolbar-padding-x | $kendo-toolbar-md-padding-x | var(--kendo-spacing-2, 0.5rem) | Default: $kendo-toolbar-md-padding-x Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The horizontal padding of the Chat Toolbar. | |||
kendo-chat-toolbar-padding-y | $kendo-toolbar-md-padding-y | var(--kendo-spacing-2, 0.5rem) | Default: $kendo-toolbar-md-padding-y Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The vertical padding of the Chat Toolbar. | |||
kendo-chat-toolbar-spacing | $kendo-toolbar-md-spacing | var(--kendo-spacing-2, 0.5rem) | Default: $kendo-toolbar-md-spacing Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The spacing of the Chat Toolbar. | |||
kendo-chat-toolbar-bg | $kendo-toolbar-bg | var(--kendo-color-surface, #fafafa) | Default: $kendo-toolbar-bg Computed: var(--kendo-color-surface, #fafafa) |
Description: The background color of the Chat Toolbar. | |||
kendo-chat-toolbar-text | $kendo-toolbar-text | var(--kendo-color-on-app-surface, #3d3d3d) | Default: $kendo-toolbar-text Computed: var(--kendo-color-on-app-surface, #3d3d3d) |
Description: The text color of the Chat Toolbar. | |||
kendo-chat-toolbar-border | inherit | inherit | Default: inherit Computed: inherit |
Description: The border color of the Chat Toolbar. | |||
kendo-chat-quick-reply-padding-x | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) | Default: k-spacing(3) Computed: var(--kendo-spacing-3, 0.75rem) |
Description: The horizontal padding of the Chat quick reply. | |||
kendo-chat-quick-reply-padding-y | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) | Default: k-spacing(2) Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The vertical padding of the Chat quick reply. | |||
kendo-chat-quick-reply-spacing | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) | Default: k-spacing(2) Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The spacing of the Chat quick reply. | |||
kendo-chat-quick-reply-line-height | $kendo-chat-bubble-line-height | var(--kendo-line-height, normal) | Default: $kendo-chat-bubble-line-height Computed: var(--kendo-line-height, normal) |
Description: The line height of the Chat quick reply. | |||
kendo-chat-bg | $kendo-app-bg | var(--kendo-color-surface, #fafafa) | Default: $kendo-app-bg Computed: var(--kendo-color-surface, #fafafa) |
Description: The background color of the Chat. | |||
kendo-chat-text | $kendo-app-text | var(--kendo-color-on-app-surface, #3d3d3d) | Default: $kendo-app-text Computed: var(--kendo-color-on-app-surface, #3d3d3d) |
Description: The text color of the Chat. | |||
kendo-chat-border | $kendo-app-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) | Default: $kendo-app-border Computed: var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description: The border color of the Chat. | |||
kendo-chat-bubble-bg | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) | Default: $kendo-component-bg Computed: var(--kendo-color-surface-alt, #ffffff) |
Description: The background color of the Chat bubble. | |||
kendo-chat-bubble-text | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) | Default: $kendo-component-text Computed: var(--kendo-color-on-app-surface, #3d3d3d) |
Description: The text color of the Chat bubble. | |||
kendo-chat-bubble-border | $kendo-chat-bubble-bg | var(--kendo-color-surface-alt, #ffffff) | Default: $kendo-chat-bubble-bg Computed: var(--kendo-color-surface-alt, #ffffff) |
Description: The border color of the Chat bubble. | |||
kendo-chat-bubble-shadow | k-elevation(1) | var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: k-elevation(1) Computed: 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-shadow | k-elevation(2) | var(--kendo-elevation-2, 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: k-elevation(2) Computed: 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-shadow | k-elevation(3) | var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: k-elevation(3) Computed: 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-bg | $kendo-color-primary | var(--kendo-color-primary, #ff6358) | Default: $kendo-color-primary Computed: var(--kendo-color-primary, #ff6358) |
Description: The background color of the Chat alt bubble. | |||
kendo-chat-alt-bubble-text | if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-chat-alt-bubble-bg )) | var(--kendo-color-on-primary, #ffffff) | Default: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-chat-alt-bubble-bg )) Computed: var(--kendo-color-on-primary, #ffffff) |
Description: The text color of the Chat alt bubble. | |||
kendo-chat-alt-bubble-border | $kendo-chat-alt-bubble-bg | var(--kendo-color-primary, #ff6358) | Default: $kendo-chat-alt-bubble-bg Computed: var(--kendo-color-primary, #ff6358) |
Description: The border color of the Chat alt bubble. | |||
kendo-chat-alt-bubble-shadow | k-elevation(1) | var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: k-elevation(1) Computed: 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-shadow | k-elevation(2) | var(--kendo-elevation-2, 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: k-elevation(2) Computed: 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-shadow | k-elevation(3) | var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: k-elevation(3) Computed: 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-bg | transparent | transparent | Default: transparent Computed: transparent |
Description: The background color of the Chat quick reply. | |||
kendo-chat-quick-reply-text | $kendo-color-primary | var(--kendo-color-primary, #ff6358) | Default: $kendo-color-primary Computed: var(--kendo-color-primary, #ff6358) |
Description: The text color of the Chat quick reply. | |||
kendo-chat-quick-reply-border | $kendo-color-primary | var(--kendo-color-primary, #ff6358) | Default: $kendo-color-primary Computed: var(--kendo-color-primary, #ff6358) |
Description: The border color of the Chat quick reply. | |||
kendo-chat-quick-reply-hover-bg | $kendo-color-primary | var(--kendo-color-primary, #ff6358) | Default: $kendo-color-primary Computed: var(--kendo-color-primary, #ff6358) |
Description: The background color of the hovered Chat quick reply. | |||
kendo-chat-quick-reply-hover-text | $kendo-color-primary-contrast | var(--kendo-color-on-primary, #ffffff) | Default: $kendo-color-primary-contrast Computed: var(--kendo-color-on-primary, #ffffff) |
Description: The text color of the hovered Chat quick reply. | |||
kendo-chat-quick-reply-hover-border | $kendo-color-primary | var(--kendo-color-primary, #ff6358) | Default: $kendo-color-primary Computed: var(--kendo-color-primary, #ff6358) |
Description: The border color of the hovered Chat quick reply. | |||
kendo-chat-quick-reply-shadow-blur | 0px | 0px | Default: 0px Computed: 0px |
Description: The shadow blur of the focused Chat quick reply. | |||
kendo-chat-quick-reply-shadow-spread | 2px | 2px | Default: 2px Computed: 2px |
Description: The shadow spread of the focused Chat quick reply. | |||
kendo-chat-quick-reply-shadow-opacity | .3 | 0.3 | Default: .3 Computed: 0.3 |
Description: The shadow opacity of the focused Chat quick reply. |