Make the deflector match your support site. Most settings are on the deflector’s Appearance tab. An attribute on the script tag wins on that one page. Padding, borders, corner radius and spacing can’t be changed.

Colours

SettingAttributeOptionDefault
Accent colourdata-brand-color or data-primary-colorprimaryColor#343CED
Text colourdata-deflect-text-colortextColorThe colour scheme’s own
Link colourdata-deflect-hyperlink-colorhyperlinkColorThe accent colour
The accent colours the icon, the That answered my question button, the source numbers, the spinner and tinted backgrounds. The text colour applies in light and dark mode.

Dark mode

SettingAttributeOptionDefault
Colour schemedata-color-schemecolorSchemelight
Dark-mode selectordata-color-scheme-selectorcolorSchemeSelectorNone
  • Colour scheme is light, dark or auto (Follow the visitor’s OS).
  • Dark-mode selector is for a site with its own theme switch: the selector that matches when the page is dark, such as html.dark. It wins over Colour scheme, and the modal follows the switch while the page is open.

Fonts

Under Typography and colour on the Appearance tab.
SettingAttributeOptionDefaultUsed for
Font familydata-deflect-font-familyfontFamilySystem font in the modal. The inline messages use your page’s fontEverything
Extra smalldata-deflect-font-size-xsfontSizeXs11pxThe “Sources” label, the line under the progress text, the footer
Smalldata-deflect-font-size-smfontSizeSm13pxButtons, the rating prompt, the follow-up box, the inline messages
Bodydata-deflect-font-size-mdfontSizeMd14pxThe answer
Titledata-deflect-font-size-lgfontSizeLg15pxThe modal title

The reopen button

SettingAttributeOptionDefault
Hide the icon on the reopen buttondata-modal-button-icon-hiddenmodalButtonIconHiddenfalse
data-modal-button-background-colormodalButtonBackgroundColorA tint of the accent colour
data-modal-button-colormodalButtonColorThe accent colour
This button appears after the reader closes the modal. Its two colours can only be set on the script tag or in JavaScript.

Branding

On the Enterprise plan, data-deflect-hide-branding="true" (option hideBranding) hides Powered by Kelu at the bottom of the modal. Other plans ignore it.

Sharing the Ask AI widget’s theme

When the script tag also runs the Ask AI widget, a deflector attribute you leave out falls back to the widget’s:
Deflector attributeFalls back to
data-deflect-font-familydata-font-family
data-deflect-font-size-xs … -lgdata-font-size-xs … -lg
data-deflect-hyperlink-colordata-hyperlink-color, then data-anchor-color
data-deflect-text-colordata-text-color
data-deflect-hide-brandingdata-hide-branding
data-color-scheme, data-color-scheme-selector, data-brand-color and data-primary-color always apply to both.

Allowed values

Enter plain CSS values, such as Inter, sans-serif, 1rem or #0b5fff. The dashboard refuses font and text/link colour values over 200 characters or containing url(, a comment, ;, braces or angle brackets. A value the browser can’t read is ignored.