Skip to main content
Version: 6.18.0

Theme settings

The structure of the webchat.theme section in the settings.json configuration file

Widget theme settings are located in the theme section of the settings.json configuration file. The section structure looks as follows:

{
"skin": {
"name": "mfms",
"colorMain": "#008aff",
"colorSecond": "#05b8ff",
"colorLines": "#dee4e9",
"colorSubText": "#6e6e6e",
"colorText": "#000",
"colorBackground": "#fff",
"width": "366px",
"height": "420px"
},
"fonts": ["/font1.css", "https://example.com/font2.css"],
"desktop": {
"Global": {},
"component1": {},
"component2": {},
"componentN": {}
},
"mobile": {
"Global": {},
"component1": {},
"component2": {},
"componentN": {}
},
"tablet": {
"Global": {},
"component1": {},
"component2": {},
"componentN": {}
}
}

Important!

If you do not need to customize the appearance theme in great detail, and it will be enough to change the colors and size of the widget so that it matches the appearance of the site, we recommend that you use simplified theme customization.

theme section structure

  • skin - Simplified theme settings. This section allows selecting one of the predefined themes and override basic settings of the theme display. The section is optional. See simplified theme customization
  • fonts - Array of links to CSS files of web fonts. These can be links to external resources (for example, Google Fonts), links to the files on the same domain (absolute or relative) or embedded data in the data: URI format. The section is optional.
  • desktop - The section is used to customize the widget theme to be displayed in desktop browsers. This section is optional, it inherits the styles of the skin section and allows overriding them.
  • mobile - The styles in this section are used for iOS devices (except for iPad) and Android devices with the screen width less than 768px. This section is optional, it inherits the styles of the desktop section and allows overriding them.
  • tablet - The styles in this section are used for iPad and Android devices with the screen width more than 768px. This section is optional, it inherits the styles of the mobile section and allows overriding them.

Important!

For convenient use of the widget on mobile devices, the send button is enabled in the mobile section, and it is white by default. We recommend configuring the button to match your guidelines as required (the ChatInput component).

Simplified theme customization

The theme customization settings are located in the skin subsection of the theme section. The section might look as follows:

{
"skin": {
"name": "mfms",
"colorMain": "#008aff",
"colorSecond": "#05b8ff",
"colorLines": "#dee4e9",
"colorSubText": "#6e6e6e",
"colorText": "#000",
"colorBackground": "#fff",
"width": "366px",
"height": "420px"
}
}

The skin section contains the following fields (none of the fields are required; more detailed description of the fields is available for each of the themes):

FieldDescriptionDefault values
nameTheme name. The following themes are available:
mfms, threadsim, halcyon, adaptive
"threadsim"
widthWidget width"366px"
heightWidget height"420px"
colorMainMain base color"#008aff"
colorSecondAdditional base color"#05b8ff"
colorLinesColor of the lines and operator messages"#dee4e9"
colorSubTextAdditional text color"#6e6e6e"
colorTextText color"#000000"
colorBackgroundWidget background color"#ffffff"

mfms theme

mfms theme

ColorElements
colorMainStart button background, client messages background, message input field background, borders and text button background
colorSecondBackground of the attachments preview and quoted messages area, background of the buttons when hovering
colorLinesLine color, operator message background color, borders of text fields
colorSubTextColor of the chat hide button, color of the replacement text of text fields, color of system messages
colorTextText color, text color in the header
colorBackgroundWidget background, text color of the attachments preview and quoted messages area, text color of the message input field, header background

threadsim theme

threadsim theme

ColorElements
colorMainStart button background, client messages background, button background, text color of the attachments preview and quoted messages area
colorSecondBackground of the attachments preview and quoted messages area, color of the borders and text of the buttons when hovering
colorLinesLine color, operator message background color, borders of text fields
colorSubTextColor of the chat hide button, color of the replacement text of text fields, color of system messages
colorTextText color, text color of the message input field, text color in the header
colorBackgroundWidget background, message input field background, header background

halcyon theme

halcyon theme

ColorElements
colorMainStart button background, client messages background, message input field background, borders and color of the button text
colorSecondBackground of the attachments preview and quoted messages area, borders and text color of the buttons when hovering
colorLinesLine color, operator message background color, borders of text fields
colorSubTextColor of the chat hide button, color of the replacement text of text fields, color of system
colorTextText color, text color in the header
colorBackgroundWidget background, color of the attachments preview and quoted messages area, message input field text color, header background

adaptive theme

In this theme, the chat window height corresponds to the height of the browser viewport.

adaptive theme

ColorElements
colorMainStart button background, client messages background, button background, text color of the attachments preview and quoted messages area, header background
colorSecondBackground color of the attachments preview and quoted messages area, background color of the buttons when hovering
colorLinesLine color, operator message background color, borders of text fields
colorSubTextcolor of the replacement text of text fields, system messages color
colorTextText color, text color of the message input field
colorBackgroundColor of the chat hide button, widget background, input message field background, text color in the header

Configuration of component appearance

To fine-tune the appearance of the components, the theme section has three child sections with settings for displaying chat components for different types of devices:

  • desktop - Desktop browsers
  • mobile - Browsers of iOS and Android devices
  • tablet - iPad browsers or Android devices with the screen width more than 768px

Each of these sections can contain the Global subsection that contains the styles that will be inherited in the styles of the section components (and they can be overridden in the styles of the components). So, if, for example, you set the text color in the desktop/Global section (the color attribute), then this color will be used by all components in the desktop section, if another color is not specified in the component's style. If you set the value of the color attribute, for example, for the desktop/ChatInput component, the component will use this overridden value. In general, the chain of inheritance and redefinition of styles looks like the following:

Style inheritance

Most of the settings are usual CSS properties. See the following below:

  • A list of components for editing
  • Matching properties of component settings with CSS properties

Note: the settings that are not described below will be ignored.

Global

Setting nameCSS propertyDescription
fontFamilyfont-familyFont family
fontSizefont-sizeFont size
colorcolorText color

AttachmentButton

AttachmentButton

Setting nameCSS propertyDescription
opacityopacityOpacity
borderWidthborder-widthBorder width
borderStyleborder-styleBorder style
borderColorborder-colorBorder color
backgroundSizebackground-sizeButton image size
backgroundImagebackground-imageBackground image path
borderColorHoverborder-colorBorder color (hover)
backgroundImageHoverbackground-imageBackground image path (hover)

AudioPlayerClient

Setting nameCSS propertyDescription
errorColorcolorText color
timeColorcolorText color
speechTextColorcolorColor of expanded text
speechButtonBackgroundColorbackground-colorBackground color of speech button
speechButtonColorcolorText color of speech button
speechPreloaderIconbackground-imagePath to image of speech preloader icon
preloaderColorcolorBackground color
progressThumbBackgroundbackgroundBackground color
progressTrackBackgroundbackgroundBackground color
progressFilledBackgroundbackgroundBackground color
playBackgroundColorbackground-colorBackground color
pauseBackgroundColorbackground-colorBackground color
playIconbackground-imageBackground image path
pauseIconbackground-imageBackground image path

AudioPlayerOperator

Setting nameCSS propertyDescription
errorColorcolorText color
timeColorcolorText color
speechTextColorcolorColor of expanded text
speechButtonBackgroundColorbackground-colorBackground color of speech button
speechButtonColorcolorText color of speech button
speechPreloaderIconbackground-imagePath to image of speech preloader icon
preloaderColorcolorBackground color
progressThumbBackgroundbackgroundBackground color
progressTrackBackgroundbackgroundBackground color
progressFilledBackgroundbackgroundBackground color
playBackgroundColorbackground-colorBackground color
pauseBackgroundColorbackground-colorBackground color
playIconbackground-imageBackground image path
pauseIconbackground-imageBackground image path

BackButton

BackButton

Setting nameCSS propertyDescription
backgroundSizebackground-sizeBackground image size
backgroundImagebackground-imageBackground image path
backgroundImageHoverbackground-imageBackground image path (hover)

BadBrowser

BadBrowser

Setting nameCSS propertyDescription
paddingpaddingPadding area
backgroundColorbackground-colorBackground color
colorcolorText color
openBackgroundImagebackground-imageExpanded icon
closeBackgroundImagebackground-imageCollapsed icon

Button

Button

Setting nameCSS propertyDescription
paddingpaddingPadding area
maxHeightmax-heightMaximum height
maxWidthmax-widthMaximum width
backgroundColorbackground-colorBackground color
backgroundImagebackground-imageBackground image path
backgroundPositionbackground-positionbackground image position
colorcolorText color
fontWeightfont-weightFont weight
fontSizefont-sizeFont size
fontFamilyfont-familyFont family
borderRadiusborder-radiusBorder radius
borderWidthborder-widthBorder width
borderColorborder-colorBorder color
borderStyleborder-styleBorder style
marginmarginMargin area
backgroundImageHoverbackground-imageBackground image path (hover)
borderColorHoverborder-colorBorder color (hover)
fontSizeHoverfont-sizeFont size (hover)
colorHovercolorFont color (hover)
backgroundColorHoverbackground-colorBackground color (hover)

ButtonsSurvey

Setting nameCSS propertyDescription
containerBackgroundbackgroundContainer background color
buttonFontWeightfont-weightButton font weight
buttonFontSizefont-sizeButton font size
buttonFontFamilyfont-familyButton font family
buttonBorderRadiusborder-radiusButton border radius
buttonMarginmarginButton margin area
buttonPaddingpaddingButton padding area
buttonBorderborderButton border style
buttonBackgroundbackgroundButton background color
buttonColorcolorButton text color
buttonBorderHoverborderButton border style (hover)
buttonBackgroundHoverbackgroundButton background color (hover)
buttonColorHovercolorButton text color (hover)
buttonBorderActiveborderButton border style (pressed)
buttonBackgroundActivebackgroundButton background color (pressed)
buttonColorActivecolorButton text color (pressed)
textMarginmarginQuestion text margin area
textColorcolorQuestion text font color
textFontSizefont-sizeQuestion text font size
textFontFamilyfont-familyQuestion text font family
textFontWeightfont-weightQuestion text font weight
thanksFontWeightfont-weightThanks text font weight
thanksColorcolorThanks text font color
thanksFontSizefont-sizeThanks text font size
thanksFontFamilyfont-familyThanks text font family

Chat

Chat

Setting nameCSS propertyDescription
transitionType-Transition type (integer number from 0 to 8, 0 by default, without animation)
borderRadiusborder-radiusBorder radius
boxShadowbox-shadowShadow
heightheightHeight
widthwidthWidth
rightrightDistance between the element's right edge and the page's right edge
bottombottomDistance between the element's bottom edge and the page's bottom edge
scrollbarWidthwidthScrollbar width
scrollbarBackgroundColorbackground-colorScrollbar color
scrollbarBorderRadiusborder-radiusScrollbar border radius

ChatBody

ChatBody

Setting nameCSS propertyDescription
backgroundColorbackground-colorBackground color
boxShadowbox-shadowShadow

ChatButton

ChatButton

Setting nameCSS propertyDescription
backgroundSizebackground-sizeButton image size
backgroundImagebackground-imageButton image path
backgroundColorbackground-colorButton background color
borderRadiusborder-radiusButton border radius
boxShadowbox-shadowButton shadow
heightheightButton height
widthwidthButton width
rightrightDistance between the element's right edge and the page's right edge
bottombottomDistance between the element's bottom edge and the page's bottom edge

ChatHeader

ChatHeader

Setting nameCSS propertyDescription
welcomeFontSizefont-sizeFont size "Welcome to chat!"
welcomeFontWeightfont-weightFont weight "Welcome to chat!"
welcomeFontColorcolorFont color "Welcome to chat!"
borderBottomborder-bottomBottom border of the component
paddingpaddingPadding area
heightheightHeight
backgroundColorbackground-colorBackground color
backgroundImagebackground-imageBackground image or gradient
backgroundSizebackground-sizeBackground image size
backgroundPositionbackground-positionbackground image position
fontFamilyfont-familyFont family
fontSizefont-sizeFont size
colorcolorText color
contentPaddingpaddingContent block padding
contentCentered-centered
avatarWidthwidthAvatar width
avatarHeightheightAvatar height
searchingFontSizefont-sizeFont size "Looking for operator"
searchingFontWeightfont-weightFont weight "Looking for operator"
searchingColorcolorFont color "Looking for operator"
spinnerBackgroundImagebackground-imagePreloader image
agentNameColorcolorAgent name font color
agentNameFontSizefont-sizeAgent name font size
agentNameFontWeightfont-weightAgent name font weight
agentNameMaxWidthmax-widthAgent name maximum width
agentInfoColorcolorAdditional info font color
agentInfoFontSizefont-sizeAdditional info font size
agentInfoFontWeightfont-weightAdditional info font weight
agentInfoMaxWidthmax-widthMaximum width of additional info

ChatInput

ChatInput

Setting nameCSS propertyDescription
wrapperHeightheightComponent height
wrapperBorderTopborder-topComponent top border style
wrapperBorderborderComponent border style
wrapperPaddingpaddingComponent padding area
wrapperBackgroundColorbackground-colorComponent background color
buttonsPlacement-Options for placing buttons in the component, button names: “attach”, “send”, “emoji”, buttonsPlacement: [[buttons on the left side], [buttons on the right side]]. The array uses only those buttons that should be available to clients. Supported assemblies: no buttons; one right; one, one right left; two right; one on the left, two on the right. Also see examples of setting up the "attach" button in the [[FAQ]]
placeholderColorcolorPlaceholder text color
backgroundColorbackground-colorInput field background color
colorcolorInput field text color
fontSizefont-sizeFont size
fontWeightfont-weightFont weight
paddingToppadding-topInner top padding of the input field
paddingBottompadding-bottomInner bottom padding of the input field
paddingLeftpadding-leftInner left padding of the input field
paddingRightpadding-rightInner right padding of the input field
borderRadiusborder-radiusBorder radius of input field
deleteRecordButtonBackgroundImagebackground-imagePath to the image of the delete voice message button
playRecordButtonBackgroundImagebackground-imagePath to the image of the play voice message button
pauseRecordButtonBackgroundImagebackground-imagePath to the image of the pause voice message button
recordPlayerMarginmarginExternal margins of the voice message player
recordingTimeColorcolorText color of the duration of the voice message while recording
playbackTimeColorcolorText color of the duration of the voice message while playing
progressSliderBarColorbackground-colorColor of the voice message progress slider bar
progressSliderThumbColorbackground-colorColor of the voice message progress slider thumb
progressSliderFilledColorbackground-colorColor of the played part of the voice message slider bar
recordingLedColorbackground-colorRecording LED color
buttonsContainerToptopPositioning relative to the top edge
circleButtonBackgroundColorbackground-colorBackground color

ChatInvite

ChatInvite

Setting nameCSS propertyDescription
transitionType-Transition type (integer number from 0 to 4, 0 by default)
colorcolorText color
fontFamilyfont-familyFont family
fontSizefont-sizeFont size
paddingpaddingPadding area
maxWidthmax-widthMaximum width
backgroundColorbackground-colorBubble background color
filterfilterFilter
heightheightHeight
widthwidthWidth
rightrightDistance between the element's right edge and the page's right edge
bottombottomDistance between the element's bottom edge and the page's bottom edge
buttonColorcolorClose button foreground color
buttonBackgroundColorbackground-colorClose button background color

ChatMessagesBadge

ChatMessagesBadge

Setting nameCSS propertyDescription
colorcolorText color
fontFamilyfont-familyFont family
fontSizefont-sizeFont size
lineHeightline-heightLine height
backgroundColorbackground-colorBubble background color
heightheightHeight
widthwidthWidth
rightrightDistance between the element's right edge and the page's right edge
bottombottomDistance between the element's bottom edge and the page's bottom edge
borderRadiusborder-radiusBorder radius

ChatPoll

ChatPoll

Setting nameCSS propertyDescription
starDisabledOutlineImagebackground-imageOutline disabled star image path
starOutlineImagebackground-imageOutline star image path
starFilledImagebackground-imageFilled star image path
starFilledRatedImagebackground-imageFilled star image path for result output
starWidthwidthStar width
starHeightheightStar height
textMarginmarginQuestion text margin area
colorcolorQuestion text font color
fontSizefont-sizeQuestion text font size
fontFamilyfont-familyQuestion text font family
fontWeightfont-weightQuestion text font weight
thanksFontWeightfont-weightThanks text font weight
thanksColorcolorThanks text font color
thanksFontSizefont-sizeThanks text font size
thanksFontFamilyfont-familyThanks text font family
marginmarginMargin area
backgroundColorbackground-colorBackground color

ChatWelcome

ChatWelcome

Setting nameCSS propertyDescription
widthwidthWidth
maxWidthmax-widthMaximum width
textAligntext-alignText alignment
marginmarginForm margin area
headerMarginmarginForm header margin area
buttonMarginmarginButton margin area
buttonFontSizefont-sizeButton font size
textColorcolorMain text color
textFontSizefont-sizeMain text font size
textFontFamilyfont-familyMain text font family
textTextAligntext-alignMain text alignment
textMarginBottommargin-bottomMain text bottom margin
subtextColorcolorMain text font
subtextFontSizefont-sizeAdditional text color
subtextFontFamilyfont-familyAdditional text font family
subtextTextAligntext-alignAdditional text alignment
subtextMarginBottommargin-bottomAdditional text bottom margin
greetTextColorcolorMain welcome message text color
greetTextFontSizefont-sizeMain welcome message text font size
greetTextFontFamilyfont-familyMain welcome message text font family
greetTextTextAligntext-alignMain welcome message text alignment
greetTextMarginBottommargin-bottomMain welcome message text bottom margin
greetSubtextColorcolorAdditional welcome message text color
greetSubtextFontSizefont-sizeAdditional welcome message text font size
greetSubtextFontFamilyfont-familyAdditional welcome message text font family
greetSubtextTextAligntext-alignAdditional welcome message text alignment
greetSubtextMarginBottommargin-bottomAdditional welcome message text bottom margin
greetImageDisplaydisplayWelcome message image display type
greetImageMarginmarginWelcome message image margin area
greetImageBackgroundImagebackground-imageWelcome message image path
greetImageWidthwidthWelcome message image width
greetImageHeightheightWelcome message image height
feedbackBackgroundColorbackground-colorMessage text background color
feedbackBorderRadiusborder-radiusMessage text border radius
feedbackBorderTopWidthborder-top-widthMessage text top border width
feedbackBorderRightWidthborder-right-widthMessage text right border width
feedbackBorderBottomWidthborder-bottom-widthMessage text bottom border width
feedbackBorderLeftWidthborder-left-widthMessage text left border width
feedbackBorderColorborder-colorMessage text border color
feedbackMarginmarginMessage text margin area
feedbackWidthmin-widthMessage text width
feedbackPaddingpaddingMessage text padding area
feedbackTextAligntext-alignMessage text align
feedbackFontWeightfont-weightMessage text font weight
feedbackColorcolorMessage text font color
feedbackFontSizefont-sizeMessage text font size
feedbackFontFamilyfont-familyMessage text font family
feedbackPlaceholderColorcolorMessage placeholder text color
feedbackLimiterColorcolorMessage text limiter margin area
feedbackLimiterMarginmarginMessage text limiter margin area

CloseButton

CloseButton

Setting nameCSS propertyDescription
backgroundSizebackground-sizeBackground image size
backgroundImagebackground-imageBackground image path
displaydisplayButton display type
backgroundImageHoverbackground-imageBackground image path (hover)

DateBar

Setting nameCSS propertyDescription
colorcolorFont color
fontWeightfont-weightFont weight
fontFamilyfont-familyFont family
fontSizefont-sizeFont size
paddingpaddingPadding area
borderRadiusborder-radiusBorder radius
boxShadowbox-shadowShadow
backgroundColorbackground-colorBackground color

Emoji

Emoji

Setting nameCSS propertyDescription
backgroundColorbackground-colorBackground color

EmojiButton

EmojiButton

Setting nameCSS propertyDescription
opacityopacityOpacity
borderWidthborder-widthBorder width
borderStyleborder-styleBorder style
borderColorborder-colorBorder color
backgroundSizebackground-sizeButton image size
backgroundImagebackground-imageBackground image path
borderColorHoverborder-colorBorder color (hover)
backgroundImageHoverbackground-imageBackground image path (hover)

InputText

InputText

Setting nameCSS propertyDescription
placeholderColorcolorPlaceholder text color
marginmarginMargin area
paddingpaddingPadding area
textAligntext-alignText alignment
fontWeightfont-weightFont weight
backgroundColorbackground-colorBackground color
colorcolorText color
fontSizefont-sizeFont size
fontFamilyfont-familyFont family
borderRadiusborder-radiusBorder radius
borderTopWidthborder-top-widthTop border width
borderRightWidthborder-right-widthRight border width
borderBottomWidthborder-bottom-widthBottom border width
borderLeftWidthborder-left-widthLeft border width
borderColorborder-colorBorder color
errorBackgroundbackground-colorBackground color on error
errorBorderColorborder-colorBorder color on error

Link

Setting nameCSS propertyDescription
containerType-Type of link preview display: "full" (default), "compact"
containerBorderborderLink preview border style
outMarginRightmargin-rightRight margin for preview of incoming message
inMarginLeftmargin-leftLeft margin for preview of outgoing message
titleFontWeightfont-weightPage title font weight
titleFontSizefont-sizePage title font size
titleColorcolorPage title font color
urlFontSizefont-sizeLink font size
urlColorcolorLink font color
descriptionFontSizefont-sizeDescription font size
descriptionColorcolorDescription font color

MessageClient

MessageClient

Setting nameCSS propertyDescription
marginmarginMargin area
colorcolorText color
fontFamilyfont-familyFont family
fontSizefont-sizeFont size
backgroundColorbackground-colorBackground color
borderTopLeftRadiusborder-top-left-radiusTop left border radius
borderBottomLeftRadiusborder-bottom-left-radiusBottom left border radius
borderTopRightRadiusborder-top-right-radiusTop right border radius
borderBottomRightRadiusborder-bottom-right-radiusBottom right border radius
blinkBackgroundColorbackground-colorBackground color of blinking message
pointerType-Pointer type. Valid values: "1", "2"
pointerDisplaydisplayPointer display type
marginTopmargin-topMargin top
quoteColorcolorQuote font color
quoteFontSizefont-sizeQuote font size
quoteBorderColorborder-colorQuote border color
addQuoteImagebackground-imagePath to quote button image
addQuoteImageSizebackground-sizeQuote button image background size
attachmentImageWidthwidthAttached image width
attachmentImageHeightheightAttached image height
attachmentImagePaddingpaddingPadding area of message with attached image
attachmentImagePendingIconbackground-imageAttachment preloading icon
attachmentImagePendingIconSizebackground-sizeAttachment preload icon size
attachmentImageErrorIconbackground-imageAttachment loading error icon
attachmentImageErrorIconSizebackground-sizeAttachment loading error icon size
attachmentImageInfoColorcolorAttached image description font color
attachmentImageInfoFontSizefont-sizeAttached image description font size
attachmentErrorMessageColorcolorUpload file error description font color
attachmentErrorMessageMarginmarginUpload file error description margin area
statusIconWidthwidthThe width of the icon showing message reading status
statusIconHeightheightThe heigth of the icon showing message reading status
statusIconColor-The color of the icon showing message reading status
linkFontFamilyfont-familyLink font family
linkFontSizefont-sizeLink font size
linkColorcolorLink font color
linkFontWeightfont-weightLink font weight
attachmentIconbackground-imageAttachment icon
attachmentIconSizebackground-sizeAttachment icon size
attachmentIconHoverbackground-imageAttachment icon (hover)
attachmentPendingIconbackground-imageAttachment preloading icon
attachmentPendingIconSizebackground-sizeAttachment preload icon size
attachmentErrorIconbackground-imageAttachment error icon
attachmentErrorIconSizebackground-sizeAttachment error icon size

MessageOperator

MessageOperator

Setting nameCSS propertyDescription
marginmarginMargin area
avatarDisplaydisplayAvatar display type
avatarImagebackground-imageAvatar default image path
avatarWidthwidthAvatar width
avatarHeightheightAvatar height
avatarBottombottomAvatar bottom offset
maxWidthmax-widthMaximum width
colorcolorText color
fontFamilyfont-familyFont family
fontSizefont-sizeFont size
backgroundColorbackground-colorBackground color
borderTopLeftRadiusborder-top-left-radiusTop left border radius
borderBottomLeftRadiusborder-bottom-left-radiusBottom left border radius
borderTopRightRadiusborder-top-right-radiusTop right border radius
borderBottomRightRadiusborder-bottom-right-radiusBottom right border radius
blinkBackgroundColorbackground-colorBackground color of blinking message
pointerType-Pointer type. Valid values: "1", "2"
pointerDisplaydisplayPointer display type
marginTopmargin-topMargin top
quoteColorcolorQuote font color
quoteFontSizefont-sizeQuote font size
quoteBorderColorborder-colorQuote border color
addQuoteImagebackground-imagePath to quote button image
addQuoteImageSizebackground-sizeQuote button image background size
attachmentImageType-Display type of attached image: "compact" (default), "full".
attachmentImageWidthwidthAttached image width
attachmentImageHeightheightAttached image height
attachmentImagePaddingpaddingPadding area of message with attached image
attachmentImagePendingIconbackground-imageAttachment preloading icon
attachmentImagePendingIconSizebackground-sizeAttachment preload icon size
attachmentImageErrorIconbackground-imageAttachment loading error icon
attachmentImageErrorIconSizebackground-sizeAttachment loading error icon size
attachmentImageInfoColorcolorAttached image description font color
attachmentImageInfoFontSizefont-sizeAttached image description font size
attachmentErrorMessageColorcolorUpload file error description font color
attachmentErrorMessageMarginmarginUpload file error description margin area
linkFontFamilyfont-familyLink font family
linkFontSizefont-sizeLink font size
linkColorcolorLink font color
linkFontWeightfont-weightLink font weight
attachmentIconbackground-imageAttachment icon
attachmentIconSizebackground-sizeAttachment icon size
attachmentIconHoverbackground-imageAttachment icon (hover)
attachmentPendingIconbackground-imageAttachment preloading icon
attachmentPendingIconSizebackground-sizeAttachment preload icon size
attachmentErrorIconbackground-imageAttachment error icon
attachmentErrorIconSizebackground-sizeAttachment error icon size
deletedMessageFontFamilyfont-familyDeleted message font family
deletedMessageFontSizefont-sizeDeleted message font size
deletedMessageColorcolorDeleted message font color
deletedMessageFontWeightfont-weightDeleted message font weight
editedMessageFontFamilyfont-familyEdited message mark font family
editedMessageFontSizefont-sizeEdited message mark font size
editedMessageColorcolorEdited message mark font color
editedMessageFontWeightfont-weightEdited message mark font weight

MessageTime

Setting nameCSS propertyDescription
colorcolorFont color
fontWeightfont-weightFont weight
fontFamilyfont-familyFont family
fontSizefont-sizeFont size
marginTopmargin-topTop offset

MicrophoneButton

Setting nameCSS propertyDescription
opacityopacityOpacity
borderWidthborder-widthBorder width
borderStyleborder-styleBorder style
borderColorborder-colorBorder color
backgroundSizebackground-sizeButton image size
backgroundImagebackground-imageBackground image path
circleOpacityopacityOpacity
circleBackgroundImagebackground-imageBackground image path
circleBackgroundSizebackground-sizeButton image size
circleBackgroundPositionbackground-positionCircle button background image position
borderColorHoverborder-colorBorder color (hover)
backgroundImageHoverbackground-imageBackground image path (hover)

MicrophonePauseButton

Setting nameCSS propertyDescription
opacityopacityOpacity
borderWidthborder-widthBorder width
borderStyleborder-styleBorder style
borderColorborder-colorBorder color
backgroundSizebackground-sizeButton image size
backgroundImagebackground-imageBackground image path
circleOpacityopacityOpacity
circleBackgroundImagebackground-imageBackground image path
circleBackgroundSizebackground-sizeButton image size
circleBackgroundPositionbackground-positionCircle button background image position
borderColorHoverborder-colorBorder color (hover)
backgroundImageHoverbackground-imageBackground image path (hover)

Notification

Notification

Setting nameCSS propertyDescription
linkColorcolorLink text color
fontFamilyfont-familyFont family
fontSizefont-sizeFont size
fontStylefont-styleFont style
colorcolorText color
marginmarginMargin area
textAligntext-alignText alignment

NotificationsAllow

Setting nameCSS propertyDescription
backgroundColorbackgroundButton background
colorcolorText color
paddingpaddingPadding

Offline

Offline

Setting nameCSS propertyDescription
backgroundColorbackground-colorBackground color
maxWidthmax-widthMaximum width
textAligntext-alignText alignment
textColorcolorMain text color
textFontSizefont-sizeMain text font size
textFontFamilyfont-familyMain text font family
textFontWeightfont-weightMain text font weight
subtextColorcolorAdditional text font color
subtextFontSizefont-sizeAdditional text font size
subtextFontFamilyfont-familyAdditional text font family
subtextFontWeightfont-weightAdditional text font weight
buttonMarginmarginButton margin area

Preloader

Preloader

Setting nameCSS propertyDescription
backgroundColorbackground-colorOverlay background color
spinnerBackgroundImagebackground-imagePreloader image

Preview

Preview

Setting nameCSS propertyDescription
paddingpaddingPadding area
backgroundColorbackground-colorBackground color
colorcolorText color
fontSizefont-sizeFont size
fontFamilyfont-familyFont family
attachmentIconbackground-imageDocument attachment icon
buttonBackgroundImagebackground-imageClose button image path
buttonWidthwidthClose button width
buttonHeightheightClose button height
quotedMessageBorderLeftborder-leftThe left border of the quoted message
quotedMessageBorderRightborder-rightThe right border of the quoted message
quotedMessageBorderTopborder-topThe top border of the quoted message
quotedMessageBorderBottomborder-bottomThe bottom border of the quoted message
quotedMessagePaddingpaddingPadding area of the quoted message
quotedMessageWidthwidthQuoted message wrapper width
quotedMessageMarginmarginQuoted message wrapper margin area
quotedMessageFontFamilyfont-familyQuoted message font family
quotedMessageColorcolorQuoted message font color
quotedMessageFontSizefont-sizeQuoted message font size
quotedMessageFontWeightfont-weightQuoted message font weight
linkFontFamilyfont-familyLink font family
linkFontSizefont-sizeLink font size
linkColorcolorLink font color
linkFontWeightfont-weightLink font weight

QuickQuestions

QuickQuestions

Setting nameCSS propertyDescription
directiondirectionDirection. Valid values: "row" (default value), "column"
containerBackgroundbackgroundContainer background color
buttonFontWeightfont-weightButton font weight
buttonFontSizefont-sizeButton font size
buttonFontFamilyfont-familyButton font family
buttonBorderRadiusborder-radiusButton border radius
buttonMarginmarginButton margin area
buttonBorderborderButton border style
buttonBackgroundbackgroundButton background color
buttonColorcolorButton text color
buttonBorderHoverborderButton border style (hover)
buttonBackgroundHoverbackgroundButton background color (hover)
buttonColorHovercolorButton text color (hover)
buttonBorderActiveborderButton border style (pressed)
buttonBackgroundActivebackgroundButton background color (pressed)
buttonColorActivecolorButton text color (pressed)

ScrollButton

ScrollButton

Setting nameCSS propertyDescription
widthwidthButton width
heightheightButton height
backgroundSizebackground-sizeButton image size
backgroundImagebackground-imageButton image path
backgroundColorbackground-colorButton background color

ScrollButtonBadge

Setting nameCSS propertyDescription
colorcolorText color
fontFamilyfont-familyFont family
fontSizefont-sizeFont size
backgroundColorbackground-colorBubble background color
heightheightHeight
widthwidthWidth
toptopPositioning relative to the top edge of the scroll button

SendButton

Setting nameCSS propertyDescription
opacityopacityOpacity
borderWidthborder-widthBorder width
borderStyleborder-styleBorder style
borderColorborder-colorBorder color
backgroundSizebackground-sizeButton image size
backgroundImagebackground-imageBackground image path
circleOpacityopacityOpacity
circleBackgroundImagebackground-imageBackground image path
circleBackgroundSizebackground-sizeButton image size
circleBackgroundPositionbackground-positionCircle button background image position
borderColorHoverborder-colorBorder color (hover)
backgroundImageHoverbackground-imageBackground image path (hover)

SocialLinks

Setting nameCSS propertyDescription
paddingpaddingSection padding area
backgroundColorbackground-colorSection background color
fontFamilyfont-familyFont family
fontSizefont-sizeFont size
colorcolorText color
cellWidthwidthWidth of button cell
buttonSizewidthButton zize
buttonBackgroundColorbackground-colorButton background color
buttonImageSizebackground-sizeButton image size

Typing

Typing

Setting nameCSS propertyDescription
avatarDisplaydisplayAvatar display type
colorcolorFont color
opacityopacityText opacity
fontSizefont-sizeFont size
containerPaddingpaddingBlock padding area
containerBackgroundbackgroundBlock background color
containerWidthwidthBlock Width
borderTopLeftRadiusborder-top-left-radiusTop left border radius
borderBottomLeftRadiusborder-bottom-left-radiusBottom left border radius
borderTopRightRadiusborder-top-right-radiusTop right border radius
borderBottomRightRadiusborder-bottom-right-radiusBottom right border radius
animationPreset-Animation type. Valid values: 1, 2

WebView

WebView

Setting nameCSS propertyDescription
backgroundColorbackground-colorBackground color
errorTextColorcolorError message font color
errorTextFontSizefont-sizeError message font size
errorTextFontFamilyfont-familyError message font family
errorTextTextAligntext-alignError message text alignment

WebWidget

Setting nameCSS propertyDescription
paddingpaddingPadding area
widthwidthШирина изображения
heightheightВысота изображения