CSS variables
Advanced customization will be deprecated. It applies only to the legacy widget design.
Override these CSS variables in the styles object of a custom theme to change colors, dimensions, spacing, and visibility of Live Chat widget elements.
Naming pattern [#naming-pattern]
The names of all supported CSS variables follow the atomic design
Each CSS variable follows this pattern:
lc-{section}-{organism}-{molecule}-{atom}
The pattern contains the following parts:
lc: Indicates Live Chat.section: The larger part of the widget, such as the header, chat, or footer.organism: A significant component or area within a section, such as a form, carousel, or thread item.molecule: A specific group within the organism, such as the header title, avatar, or bubble.atom: The smallest visual element affected, such asbackground-color,padding, orborder-radius.
The following sections list all supported CSS variables, grouped by widget section, with their descriptions and default values.
General [#general]
The following variables define the brand colors and the focus outline:
| Variable | Description | Default |
|---|---|---|
lc-brand-background-color | Represents the color selected on the widget configuration page under Appearance. Other CSS variables use the primary color as their default value. | The value set on the widget configuration page |
lc-brand-text-color | Represents the color selected on the widget configuration page under Appearance. Other CSS variables use the primary text color as their default value. | The value set on the widget configuration page |
lc-chat-background-color | Represents the color selected on the widget configuration page under Appearance. Other CSS variables use the background color as their default value. | The value set on the widget configuration page |
lc-focus-outline-color | Represents the color selected for the focus outline. | #5d72c2 |
lc-focus-outline | Represents the focus outline on elements. | 2px solid $lc-focus-outline-color |
The variables lc-focus-outline-color and lc-focus-outline are linked to the accessibility support of the widget. To disable the outline, set "lc-focus-outline": "none" in the theme configuration. Disable focus outlines only when a specific client requires it, because this setting does not comply with accessibility standards.
Container [#container]
The following variables control the widget wrapper, the widget button, and the unread messages counter:
| Variable | Description | Default |
|---|---|---|
lc-widget-wrapper-loading-background-color | Sets the background color of the container that loads the widget. | lc-chat-background-color |
lc-widget-wrapper-loading-spinner-color | Sets the color of the spinner in the container that loads the widget. | lc-brand-background-color |
lc-widget-wrapper-width | Sets the width of the widget wrapper. | 360px |
lc-widget-wrapper-height | Sets the height of the widget wrapper. | calc(100vh - 120px) |
lc-widget-wrapper-max-height | Sets the maximum height of the widget wrapper. | 640px |
lc-widget-wrapper-border-radius | Sets the border radius of the widget wrapper. | 8px |
lc-widget-wrapper-box-shadow | Sets the box shadow of the widget wrapper. | rgba(0, 0, 0, 0.25) 0 4px 16px |
lc-widget-wrapper-y-position | Sets the vertical position of the widget wrapper. | 100px |
lc-widget-wrapper-x-position | Sets the horizontal position of the widget wrapper. | 20px |
lc-widget-button-width | Sets the width of the widget button. | 60px |
lc-widget-button-height | Sets the height of the widget button. | 60px |
lc-widget-button-position-y | Sets the vertical position of the widget button. | 20px |
lc-widget-button-position-x | Sets the horizontal position of the widget button. | 20px |
lc-widget-button-background-color | Sets the background color of the widget button. | lc-brand-background-color |
lc-widget-button-border-radius | Sets the border radius of the widget button. | 50% |
lc-widget-button-box-shadow | Sets the box shadow of the widget button. | rgba(0, 0, 0, 0.25) 0 4px 16px |
lc-widget-button-close-icon-color | Sets the color of the Close icon in the widget button. | lc-brand-text-color |
lc-widget-unread-messages-counter-width | Sets the width of the unread messages counter. | 23px |
lc-widget-unread-messages-counter-height | Sets the height of the unread messages counter. | 23px |
lc-widget-unread-messages-counter-top | Sets the top position of the unread messages counter. | -3px |
lc-widget-unread-messages-counter-right | Sets the right position of the unread messages counter. | -4px |
lc-widget-unread-messages-counter-color | Sets the color of the unread messages counter. | lc-brand-text-color |
lc-widget-unread-messages-counter-background-color | Sets the background color of the unread messages counter. | #e0283e |
lc-widget-unread-messages-counter-border-radius | Sets the border radius of the unread messages counter. | 50% |
Header [#header]
The following variables control the widget header, logo, title, and Close button:
| Variable | Description | Default |
|---|---|---|
lc-header-container-height | Sets the height of the widget header. | 80px |
lc-header-container-padding | Sets the padding of individual header elements. | 20px |
lc-header-container-background-color | Sets the background color of the widget header. | lc-brand-background-color |
lc-header-container-border-bottom | Sets the properties of the bottom border of the widget header. | none |
lc-header-container-item-gap | Sets the gap between header elements (navigation button, title, and avatar). | 10px |
lc-header-thread-list-nav-bar-color | Sets the icon color of the button that goes to the thread list in multi-thread widgets. | lc-brand-text-color |
lc-header-logo-width | Sets the width of the widget logo. | 40px |
lc-header-logo-height | Sets the height of the widget logo. | 40px |
lc-header-logo-margin | Sets the margin of the widget logo. | (0px 0px) |
lc-header-logo-img-border-radius | Sets the border radius of the widget logo. | 50% |
lc-header-title-color | Sets the text color of the widget title. | lc-brand-text-color |
lc-header-title-font-size | Sets the font size of the widget title. | 16px |
lc-header-title-font-weight | Sets the font weight of the widget title. | bold |
lc-header-close-button-visibility | Sets the visibility of the Close button in the header, if present. By default, the button shows only on mobile-sized screens. | hidden |
lc-header-close-button-width | Sets the width of the Close button. | 40px |
lc-header-close-button-height | Sets the height of the Close button. | 40px |
lc-header-close-button-color | Sets the icon color of the Close button. | lc-brand-text-color |
Chat [#chat]
The following variables control message bubbles, typing indicators, carousels, quick replies, the scrollbar, and the loading spinner:
| Variable | Description | Default |
|---|---|---|
lc-chat-message-bubble-padding | Sets the padding around the message bubble. | (12px 20px) |
lc-chat-message-bubble-text-color | Not applied to user or agent message bubbles. To change their text color, use lc-chat-message-user-bubble-text-color and lc-chat-message-agent-bubble-text-color. | Not set |
lc-chat-message-user-bubble-text-color | Sets the color of the text in the user message bubble. | lc-brand-text-color |
lc-chat-message-user-bubble-background-color | Sets the background color of the user message bubble. | lc-brand-background-color |
lc-chat-message-user-bubble-border-radius | Sets the border radius of the user message bubble. | (8px 2px 8px 8px) |
lc-chat-message-agent-bubble-text-color | Sets the color of the text in the agent message bubble. | #000 |
lc-chat-message-agent-bubble-background-color | Sets the background color of the agent message bubble. | #f7f7f7 |
lc-chat-message-agent-bubble-border-radius | Sets the border radius of the agent message bubble. | (2px 8px 8px 8px) |
lc-chat-message-bubble-send-time-color | Sets the color of the send time below the message bubble. | #737376 |
lc-chat-message-bubble-agent-name-color | Sets the color of the agent name next to the message bubble. | #737376 |
lc-chat-message-bubble-resend-button-color | Sets the color of the Resend button for messages that were not sent successfully. | lc-brand-text-color |
lc-chat-agent-typing-indicator-first-color | Sets the first color in the agent typing indicator animation. | #d8d8d8 |
lc-chat-agent-typing-indicator-second-color | Sets the second color in the agent typing indicator animation. | #b0b0b0 |
lc-chat-agent-typing-indicator-circle-color | Sets the color of the circle in the agent typing indicator animation. | #b0b0b0 |
lc-chat-agent-avatar-name-text-color | Sets the color of the agent name text in the avatar. | #3d5869 |
lc-chat-agent-avatar-name-background-color | Sets the color of the agent name background in the avatar. | #f7f7f7 |
lc-chat-time-divider-text-color | Sets the color of the time divider text. | #72716f |
lc-chat-carousel-background-color | Sets the background color of the carousel. | none |
lc-chat-carousel-message-border-radius | Sets the border radius of the carousel message item. | 4px |
lc-chat-carousel-message-background-color | Sets the background color of the carousel message item. | #F7F7F7 |
lc-chat-quickreply-button-background-color | Sets the background color of the quick reply buttons. | color-mix(in srgb, lc-brand-background-color 10%, transparent) |
lc-chat-quickreply-button-background-color-hover | Sets the background color of the quick reply buttons when hovered over. | lc-brand-background-color |
lc-chat-quickreply-button-border | Sets the border properties of the quick reply buttons. | 1px solid lc-brand-background-color |
lc-chat-quickreply-button-border-hover | Sets the border properties of the quick reply buttons when hovered over. | lc-chat-quickreply-button-border |
lc-chat-quickreply-button-border-radius | Sets the border radius of the quick reply buttons. | 4px |
lc-chat-quickreply-button-color | Sets the text color of the quick reply buttons. | lc-brand-background-color-darker |
lc-chat-quickreply-button-color-hover | Sets the text color of the quick reply buttons when hovered over. | lc-brand-text-color |
lc-chat-scrollbar-background-color | Sets the color of the scrollbar. | inherit |
lc-chat-scrollbar-background-color-hover | Sets the color of the scrollbar when hovered over. | lc-chat-scrollbar-background-color |
lc-chat-scrollbar-border | Sets the border properties of the scrollbar. | 5px solid transparent |
lc-chat-scrollbar-border-hover | Sets the border properties of the scrollbar when hovered over. | lc-chat-scrollbar-border |
lc-chat-scrollbar-border-radius | Sets the border radius of the scrollbar. | 16px |
lc-chat-scrollbar-box-shadow | Sets the box shadow of the scrollbar. | inset 0 0 100px 100px rgba(0, 0, 0, 0.3) |
lc-chat-scrollbar-box-shadow-hover | Sets the box shadow of the scrollbar when hovered over. | lc-chat-scrollbar-box-shadow |
lc-chat-scrollbar-width | Sets the width of the scrollbar. | 16px |
lc-chat-loading-spinner-fill-color | Sets the fill color of the loading spinner. | lc-brand-text-color |
lc-chat-loading-spinner-stroke-color | Sets the stroke color of the loading spinner. | lc-brand-background-color |
Footer [#footer]
The following variables control the widget footer, message input, attachments, emoji picker, error messages, and start chat elements:
| Variable | Description | Default |
|---|---|---|
lc-footer-container-background-color | Sets the background color of the widget footer. | lc-chat-background-color |
lc-footer-start-chat-button-background-color | Sets the background color of the Start new chat button used in multi-thread widgets. | lc-brand-background-color |
lc-footer-start-chat-button-color | Sets the text color of the Start new chat button used in multi-thread widgets. | lc-brand-text-color |
lc-footer-start-chat-text-color | Sets the color of the information text that explains why the Start new chat button is visible, for example, when a conversation is closed. | #545454 |
lc-footer-attachment-button-hover-background-color | Sets the background color of the attachment button when hovered over. | #f5f5f5 |
lc-footer-attachment-button-color | Sets the color of the attachment icon. | #B4B4B4 |
lc-footer-attachment-button-selected-color | Sets the color of the attachment icon after the user selects an attachment they intend to send. | lc-brand-background-color |
lc-footer-attachment-background-color | Sets the background color of the component that represents an attachment that the user is ready to send. | lc-brand-background-color |
lc-footer-attachment-color | Sets the text color of the component that represents an attachment that the user is ready to send. | lc-brand-text-color |
lc-footer-send-button-color | Sets the color of the Send message button. | lc-brand-background-color |
lc-footer-send-button-disabled-color | Sets the color of the Send message button while it is disabled, for example, when the message input is empty. | #B4B4B4 |
lc-footer-emoji-picker-icon-hover-background-color | Sets the background color of the emoji picker button when hovered over. | #f5f5f5 |
lc-footer-emoji-picker-icon-color | Sets the color of the emoji picker. | #72716F |
lc-footer-emoji-picker-icon-selected-color | Sets the color of the emoji picker when the emoji picker modal is open. | lc-brand-background-color |
lc-footer-emoji-picker-color | Sets the text color in the emoji picker menu. Enter the color as R, G, B values, not as a HEX code. | 34, 36, 39 |
lc-footer-emoji-picker-border-color | Sets the border color of the emoji picker menu. | #d9d9d9 |
lc-footer-emoji-picker-background-color | Sets the background color of the emoji picker menu. | lc-chat-background-color |
lc-footer-emoji-picker-search-color | Sets the text color in the emoji search component. | lc-footer-emoji-picker-color |
lc-footer-emoji-picker-search-border-color | Sets the border color of the emoji search component. | lc-footer-emoji-picker-border-color |
lc-footer-emoji-picker-search-background-color | Sets the background color of the emoji search component. | lc-footer-emoji-picker-background-color |
lc-footer-emoji-picker-search-icon-color | Sets the color of the search icon in the emoji search component. | lc-footer-emoji-picker-color |
lc-footer-emoji-picker-search-no-result-color | Sets the color of the information text that shows that no emoji matches the search parameter. | #B4B4B4 |
lc-footer-emoji-hover-background-color | Sets the background color of an emoji in the picker menu when hovered over. | #f5f5f5 |
lc-footer-container-padding | Sets the padding of the widget footer. | 10px 10px |
lc-footer-container-margin | Sets the margin of the widget footer. | 0 |
lc-footer-container-border-top | Sets the top border of the widget footer. | solid 1px rgba(0, 0, 0, 0.1) |
lc-footer-input-container-background-color | Sets the background color of the input container in the widget footer. | lc-chat-background-color |
lc-footer-input-container-padding | Sets the padding of the input container in the widget footer. | 0 |
lc-footer-input-container-margin | Sets the margin of the input container in the widget footer. | 0 |
lc-footer-input-container-gap | Sets the gap between elements in the input container in the widget footer. | 5px |
lc-footer-message-input-width | Sets the width of the message input in the widget footer. | 100% |
lc-footer-message-input-padding | Sets the padding of the message input in the widget footer. | 3px 0 |
lc-footer-message-input-margin | Sets the margin of the message input in the widget footer. | 0 |
lc-footer-message-input-font-size | Sets the font size of the message input in the widget footer. | 15px |
lc-footer-message-input-font-weight | Sets the font weight of the message input in the widget footer. | normal |
lc-footer-message-input-font-style | Sets the font style of the message input in the widget footer. | normal |
lc-footer-message-input-line-height | Sets the line height of the message input in the widget footer. | 24px |
lc-footer-message-input-background-color | Sets the background color of the message input. | lc-chat-background-color |
lc-footer-message-input-min-lines | Sets the minimum number of lines for the message input. Combined with lc-footer-message-input-line-height, it defines the minimum height of the input. | 1 |
lc-footer-message-input-max-lines | Sets the maximum number of lines for the message input. Combined with lc-footer-message-input-line-height, it defines the maximum height of the input. | 5 |
lc-footer-message-input-color | Sets the color of the message input. | black |
lc-footer-attachment-button-width | Sets the width of the attachment button in the widget footer. | 30px |
lc-footer-attachment-button-height | Sets the height of the attachment button in the widget footer. | 30px |
lc-footer-attachment-button-padding | Sets the padding of the attachment button in the widget footer. | 0 |
lc-footer-attachment-button-margin | Sets the margin of the attachment button in the widget footer. | 0 |
lc-footer-attachment-button-border-radius | Sets the border radius of the attachment button in the widget footer. | 50% |
lc-footer-attachment-button-background-color | Sets the background color of the attachment button in the widget footer. | inherit |
lc-footer-attachment-button-display | Sets the display property of the attachment button in the widget footer. | flex |
lc-footer-send-button-width | Sets the width of the Send message button in the widget footer. | 30px |
lc-footer-send-button-height | Sets the height of the Send message button in the widget footer. | 30px |
lc-footer-send-button-padding | Sets the padding of the Send message button in the widget footer. | 0 |
lc-footer-send-button-margin | Sets the margin of the Send message button in the widget footer. | 0 |
lc-footer-send-button-background-color | Sets the background color of the Send message button in the widget footer. | inherit |
lc-footer-attachment-container-padding | Sets the padding of the attachments preview container in the widget footer. | 0 |
lc-footer-attachment-container-margin | Sets the margin of the attachments preview container in the widget footer. | 10px 0 |
lc-footer-attachment-min-width | Sets the minimum width of the attachment preview in the widget footer. | 130px |
lc-footer-attachment-min-height | Sets the minimum height of the attachment preview in the widget footer. | 30px |
lc-footer-attachment-padding | Sets the padding of the attachment preview in the widget footer. | 0 |
lc-footer-attachment-margin | Sets the margin of the attachment preview in the widget footer. | 0 |
lc-footer-attachment-border | Sets the border of the attachment preview in the widget footer. | solid 1px #e4e4e4 |
lc-footer-attachment-border-radius | Sets the border radius of the attachment preview in the widget footer. | 4px |
lc-footer-attachment-font-size | Sets the font size of the attachment preview in the widget footer. This variable does not work. | 14px |
lc-footer-attachment-font-weight | Sets the font weight of the attachment preview in the widget footer. This variable does not work. | normal |
lc-footer-attachment-font-style | Sets the font style of the attachment preview in the widget footer. This variable does not work. | normal |
lc-footer-attachment-image-max-width | Sets the maximum width of the image attachment preview in the widget footer. | 150px |
lc-footer-attachment-image-border-radius | Sets the border radius of the image attachment preview in the widget footer. | 4px |
lc-footer-attachment-document-max-width | Sets the maximum width of the document attachment preview in the widget footer. | 300px |
lc-footer-attachment-document-padding | Sets the padding of the document attachment preview in the widget footer. | 0 |
lc-footer-attachment-detach-icon-top | Sets the top position of the detach icon in the attachment preview in the widget footer. | 6px |
lc-footer-attachment-detach-icon-right | Sets the right position of the detach icon in the attachment preview in the widget footer. | 6px |
lc-footer-attachment-detach-icon-background-color | Sets the background color of the detach icon in the attachment preview in the widget footer. | rgba(0, 0, 0, 0.5) |
lc-footer-attachment-detach-icon-color | Sets the color of the detach icon in the attachment preview in the widget footer. This variable does not work. | #FFFFFF |
lc-footer-error-stack-gap | Sets the gap between individual error messages. | 4px |
lc-footer-error-stack-margin | Sets the margin of the error stack in the widget footer. | 4px 0 0 0 |
lc-footer-error-message-width | Sets the width of the error messages in the widget footer. | 90% |
lc-footer-error-message-padding | Sets the padding of the error messages in the widget footer. | 2px 0px 0px 0px |
lc-footer-error-message-gap | Sets the gap between elements in the error messages in the widget footer. | 12px |
lc-footer-error-message-color | Sets the color of the error messages in the widget footer. | #c84714 |
lc-footer-error-message-border-top | Sets the top border of the error messages in the widget footer. | solid 1px |
lc-footer-start-chat-container-gap | Sets the gap between elements in the Start chat container in the widget footer. | 10px |
lc-footer-start-chat-container-padding | Sets the padding of the Start chat container in the widget footer. | 0px |
lc-footer-start-chat-container-margin | Sets the margin of the Start chat container in the widget footer. | 0px |
lc-footer-start-chat-container-background-color | Sets the background color of the Start chat container in the widget footer. | lc-chat-background-color |
lc-footer-start-chat-text-background-color | Sets the background color of the Start chat text in the widget footer. | lc-chat-background-color |
lc-footer-start-chat-text-padding | Sets the padding of the Start chat text in the widget footer. | 5px 0px |
lc-footer-start-chat-text-margin | Sets the margin of the Start chat text in the widget footer. | 0px |
lc-footer-start-chat-text-font-size | Sets the font size of the Start chat text in the widget footer. | 15px |
lc-footer-start-chat-text-font-weight | Sets the font weight of the Start chat text in the widget footer. | normal |
lc-footer-start-chat-text-font-style | Sets the font style of the Start chat text in the widget footer. | normal |
lc-footer-start-chat-button-width | Sets the width of the Start chat button in the widget footer. | 85% |
lc-footer-start-chat-button-height | Sets the height of the Start chat button in the widget footer. | 48px |
lc-footer-start-chat-button-padding | Sets the padding of the Start chat button in the widget footer. | 0px |
lc-footer-start-chat-button-margin | Sets the margin of the Start chat button in the widget footer. | 0px |
lc-footer-start-chat-button-border-radius | Sets the border radius of the Start chat button in the widget footer. | 4px |
lc-footer-start-chat-button-font-size | Sets the font size of the Start chat button in the widget footer. | 15px |
lc-footer-start-chat-button-font-weight | Sets the font weight of the Start chat button in the widget footer. | normal |
lc-footer-start-chat-button-font-style | Sets the font style of the Start chat button in the widget footer. | normal |
Survey [#survey]
The following variables control the survey content, modal window, rating options, feedback input, and Submit survey button:
| Variable | Description | Default |
|---|---|---|
lc-survey-content-flex-direction | Sets the flex direction of the survey type content. | column |
lc-survey-content-font-size | Sets the font size of the survey content. | 4vw |
lc-survey-content-gap | Sets the gap between the survey content elements. | 20px |
lc-survey-content-padding | Sets the padding of the survey content. | 10px |
lc-survey-modal-background-color | Sets the background color of the survey modal window. | lc-chat-background-color |
lc-survey-modal-flex-direction | Sets the flex direction of elements inside the survey modal window. | column |
lc-survey-modal-padding | Sets the padding of the survey modal window. | 5px |
lc-survey-user-rating-item-background-color | Sets the background color of the user rating button option (thumbs up and thumbs down). | lc-chat-background-color |
lc-survey-user-rating-item-box-shadow | Sets the box shadow of the user rating button options. | 0 1px 3px 1px rgba(0, 0, 0, 0.1) |
lc-survey-user-rating-item-box-shadow-hover | Sets the box shadow of the user rating button options when hovered over. | 0 1px 3px 1px rgba(0, 0, 0, 0.2) |
lc-survey-user-rating-item-icon-color | Sets the color of the icon on the user rating button option. | lc-brand-background-color |
lc-survey-user-rating-item-negative-background-color | Sets the background color of the negative user rating button option. | lc-chat-background-color |
lc-survey-user-rating-item-negative-icon-color | Sets the color of the icon of the negative user rating button option. | lc-brand-background-color |
lc-survey-user-rating-item-padding | Sets the padding of the user rating button options. | 10px 20px |
lc-survey-user-rating-item-selected-background-color | Sets the background color of the user rating button option when the user selects it. | lc-brand-background-color |
lc-survey-user-rating-item-selected-icon-color | Sets the color of the icon on the user rating button option when the user selects it. | lc-brand-text-color |
lc-survey-user-rating-options-gap | Sets the gap between the user rating button options. | 20px |
lc-survey-user-rating-options-flex-direction | Sets the flex direction of the user rating button options. | row |
lc-survey-user-rating-options-justify-content | Sets the justify-content value of the user rating button options. | center |
lc-survey-user-input-width | Sets the width of the user feedback input. | 100% |
lc-survey-user-input-line-height | Sets the line height of the user feedback input. | 24px |
lc-survey-user-input-min-lines | Sets the minimum number of lines for the user feedback input. Combined with lc-survey-user-input-line-height, it defines the minimum height of the input. | 2 |
lc-survey-user-input-max-lines | Sets the maximum number of lines for the user feedback input. Combined with lc-survey-user-input-line-height, it defines the maximum height of the input. | 7 |
lc-survey-user-input-padding | Sets the padding of the user feedback input. | 3px |
lc-survey-user-input-background-color | Sets the background color of the user feedback input. | white |
lc-survey-submit-button-align-self | Sets the horizontal alignment of the Submit survey button. | center |
lc-survey-submit-button-background-color | Sets the background color of the Submit survey button. | lc-brand-background-color |
lc-survey-submit-button-color | Sets the text color of the Submit survey button. | lc-brand-text-color |
lc-survey-submit-button-disabled-background-color | Sets the background color of the Submit survey button when it is disabled. | #e4e4e4 |
lc-survey-submit-button-disabled-color | Sets the text color of the Submit survey button when it is disabled. | #737376 |
lc-survey-submit-button-padding | Sets the padding of the Submit survey button. | 10px 30px |
Thread list [#thread-list]
The following variables control the thread list view and thread cards in multi-thread widgets:
| Variable | Description | Default |
|---|---|---|
lc-thread-list-background-color | Sets the background color of the thread list view. | lc-chat-background-color |
lc-thread-list-border-radius | Sets the border radius of the thread list view. | initial |
lc-thread-list-margin | Sets the margin of the thread list view. | initial |
lc-thread-list-padding | Sets the padding of the thread list view. | initial |
lc-thread-list-card-background-color | Sets the background color of individual thread cards. | lc-thread-list-background-color |
lc-thread-list-card-border-radius | Sets the border radius of individual thread cards. | 2px |
lc-thread-list-card-box-shadow | Sets the box shadow of individual thread cards. | 0 1px 3px rgba (0, 0, 0, 0.17) |
lc-thread-list-card-box-shadow-hover | Sets the box shadow of individual thread cards when hovered over. | 2px 2px 5px grey |
lc-thread-list-card-height | Sets the height of individual thread cards. | 72px |
lc-thread-list-card-margin | Sets the margin of individual thread cards. | 8px 12px |
lc-thread-list-card-padding | Sets the padding of individual thread cards. | initial |
lc-thread-list-card-avatar-align-items | Sets the vertical alignment of the card avatar. | center |
lc-thread-list-card-avatar-background-color | Sets the background color of the box for the card avatar. | initial |
lc-thread-list-card-avatar-border-radius | Sets the border radius of the box for the card avatar. | initial |
lc-thread-list-card-avatar-justify-content | Sets the horizontal alignment of the card avatar. | center |
lc-thread-list-card-avatar-logo-height | Sets the height of the avatar logo. | 30px |
lc-thread-list-card-avatar-logo-width | Sets the width of the avatar logo. | 30px |
lc-thread-list-card-avatar-margin | Sets the margin of the box for the card avatar. | initial |
lc-thread-list-card-avatar-padding | Sets the padding of the box for the card avatar. | initial |
lc-thread-list-card-avatar-width | Sets the width of the box for the card avatar. | 70px |
lc-thread-list-card-message-container-background-color | Sets the background color of the card message container. | initial |
lc-thread-list-card-message-container-border-radius | Sets the border radius of the card message container. | initial |
lc-thread-list-card-message-container-margin | Sets the margin of the card message container. | initial |
lc-thread-list-card-message-container-padding | Sets the padding of the card message container. | initial |
lc-thread-list-card-message-container-width | Sets the width of the card message container. | 75% |
lc-thread-list-card-message-content-background-color | Sets the background color of the card message preview. | initial |
lc-thread-list-card-message-content-border-radius | Sets the border radius of the card message preview. | initial |
lc-thread-list-card-message-content-color | Sets the text color of the thread card message preview. | #B4B4B4 |
lc-thread-list-card-message-content-font-size | Sets the font size of the card message preview. | 14px |
lc-thread-list-card-message-content-font-style | Sets the font style of the card message preview. | normal |
lc-thread-list-card-message-content-font-weight | Sets the font weight of the card message preview. | normal |
lc-thread-list-card-message-content-line-height | Sets the line height of the card message preview. | 140% |
lc-thread-list-card-message-content-margin | Sets the margin of the card message preview. | 2px 0px 0px 0px |
lc-thread-list-card-message-content-padding | Sets the padding of the card message preview. | initial |
lc-thread-list-card-message-info-background-color | Sets the background color of the card message info. | initial |
lc-thread-list-card-message-info-border-radius | Sets the border radius of the card message info. | initial |
lc-thread-list-card-message-info-color | Sets the text color of the thread card header and timestamp. | #545454 |
lc-thread-list-card-message-info-flex-direction | Sets the flex direction of the card message info. | row |
lc-thread-list-card-message-info-font-size | Sets the font size of the card message info. | 14px |
lc-thread-list-card-message-info-font-style | Sets the font style of the card message info. | normal |
lc-thread-list-card-message-info-font-weight | Sets the font weight of the card message info. | normal |
lc-thread-list-card-message-info-line-height | Sets the line height of the card message info. | 115% |
lc-thread-list-card-message-info-margin | Sets the margin of the card message info. | 16px 0px 0px 0px |
lc-thread-list-card-message-info-padding | Sets the padding of the card message info. | initial |
lc-thread-list-card-message-info-name-background-color | Sets the background color of the name box in the card message info. | initial |
lc-thread-list-card-message-info-name-border-radius | Sets the border radius of the name box in the card message info. | initial |
lc-thread-list-card-message-info-name-color | Sets the text color of the name in the card message info. | initial |
lc-thread-list-card-message-info-name-font-size | Sets the font size of the name in the card message info. | initial |
lc-thread-list-card-message-info-name-font-style | Sets the font style of the name in the card message info. | initial |
lc-thread-list-card-message-info-name-font-weight | Sets the font weight of the name in the card message info. | initial |
lc-thread-list-card-message-info-name-margin | Sets the margin of the name box in the card message info. | initial |
lc-thread-list-card-message-info-name-padding | Sets the padding of the name box in the card message info. | initial |
lc-thread-list-card-lock-icon-height | Sets the proportional size of the lock icon. | 16px |
lc-thread-list-card-lock-icon-margin-left | Sets the left margin that positions the lock icon horizontally. | 10px |
lc-thread-list-card-lock-icon-margin-top | Sets the top margin that positions the lock icon vertically. | 10px |
lc-thread-list-card-channel-switch-height | Sets the proportional size of the channel switch icon. | 16px |
lc-thread-list-card-channel-switch-margin-left | Sets the left margin that positions the channel switch icon horizontally. | 37px |
lc-thread-list-card-channel-switch-margin-top | Sets the top margin that positions the channel switch icon vertically. | 12px |
lc-thread-list-card-unread-message-counter-background-color | Sets the background color of the unread message counter. | #C84714 |
lc-thread-list-card-unread-message-counter-border-radius | Sets the border radius of the unread message counter. | 50% |
lc-thread-list-card-unread-message-counter-color | Sets the text color of the unread message counter. | #FFFFFF |
lc-thread-list-card-unread-message-counter-font-size | Sets the font size of the unread message counter. | 12px |
lc-thread-list-card-unread-message-counter-font-weight | Sets the font weight of the unread message counter. | initial |
lc-thread-list-card-unread-message-counter-height | Sets the height of the unread message counter. | 18px |
lc-thread-list-card-unread-message-counter-right | Sets the right property that positions the unread message counter horizontally. | 15px |
lc-thread-list-card-unread-message-counter-top | Sets the top property that positions the unread message counter vertically. | 38px |
lc-thread-list-card-unread-message-counter-width | Sets the width of the unread message counter. | 18px |
Eye-catcher [#eye-catcher]
The following variables control the eye-catcher container, its Close button, and its message bubble:
| Variable | Description | Default |
|---|---|---|
lc-eye-catcher-container-x-position | Sets the horizontal position of the eye-catcher container. | 100px |
lc-eye-catcher-container-y-position | Sets the vertical position of the eye-catcher container. | 20px |
lc-eye-catcher-container-gap | Sets the gap between elements in the eye-catcher container. | 3px |
lc-eye-catcher-close-button-width | Sets the width of the Close button in the eye-catcher. | 30px |
lc-eye-catcher-close-button-height | Sets the height of the Close button in the eye-catcher. | 30px |
lc-eye-catcher-close-button-border-radius | Sets the border radius of the Close button in the eye-catcher. | 50% |
lc-eye-catcher-close-button-background-color | Sets the background color of the Close button in the eye-catcher. | rgba(white, 0.8) |
lc-eye-catcher-close-button-hover-background-color | Sets the background color of the Close button in the eye-catcher when hovered over. | #f5f5f5 |
lc-eye-catcher-close-button-color | Sets the color of the Close button in the eye-catcher. | #999999 |
lc-eye-catcher-close-button-hover-color | Sets the color of the Close button in the eye-catcher when hovered over. | #4c4c4c |
lc-eye-catcher-message-bubble-max-width | Sets the maximum width of the message bubble in the eye-catcher. | 220px |
lc-eye-catcher-message-bubble-min-width | Sets the minimum width of the message bubble in the eye-catcher. | 80px |
lc-eye-catcher-message-bubble-max-height | Sets the maximum height of the message bubble in the eye-catcher. | 125px |
lc-eye-catcher-message-bubble-padding | Sets the padding of the message bubble in the eye-catcher. | 18px |
lc-eye-catcher-message-bubble-margin | Sets the margin of the message bubble in the eye-catcher. | 0 |
lc-eye-catcher-message-bubble-background-color | Sets the background color of the message bubble in the eye-catcher. | white |
lc-eye-catcher-message-bubble-box-shadow | Sets the box shadow of the message bubble in the eye-catcher. | 0px 5px 10px rgba(0, 0, 0, 0.18) |
lc-eye-catcher-message-bubble-border-radius | Sets the border radius of the message bubble in the eye-catcher. | 8px |
lc-eye-catcher-message-bubble-text-font-size | Sets the font size of the message bubble text in the eye-catcher. | 14px |
lc-eye-catcher-message-bubble-text-font-weight | Sets the font weight of the message bubble text in the eye-catcher. | normal |
lc-eye-catcher-message-bubble-text-font-style | Sets the font style of the message bubble text in the eye-catcher. | normal |
lc-eye-catcher-message-bubble-text-line-height | Sets the line height of the message bubble text in the eye-catcher. | 18px |
lc-eye-catcher-message-bubble-text-color | Sets the color of the message bubble text in the eye-catcher. | black |
Custom themes
Enable advanced customization and define themes in JSON.
Custom fonts
Load a custom web font for each theme.
JavaScript SDK in Live Chat
Apply a theme at runtime with the set_theme command.
Was this page helpful?