guide

Styling the chat widget

A complete guide to customizing the chat widget's appearance — colors, dark mode, backgrounds, typography, and how dashboard styles merge with inline settings.

Open the widget style editor

Select the project, then open Content → Pages → Chat widget. Choose a preset or your own style in Widget styles. One style is live at a time. The editor preview is unpublished and conversations there use sample replies; it is not a test of live help-center retrieval.

Set visitor appearance and publish

  1. Choose the style to edit. Use its name field and the available duplicate/create controls when preparing another style.
  2. Open Home content for Greeting, Subtitle, Quick reply options, Logo and Team avatars. Quick replies use one line per option. An unset logo can fall back to the project icon.
  3. Open Visitor appearance and choose Light, Dark or Auto. This is the visitor setting applied with publication.
  4. Use Preview appearance to inspect a palette locally. Selecting Light preview does not by itself force every visitor to light mode.
  5. Adjust Appearance, Typography, Background, and Launcher and navigation. Review readability and the selected tabs in the actual widget preview.
  6. For the active style, use Publish changes after editing. Wait for success and reload a real installed widget to verify the saved result. A disabled publish button can mean there are no changes.

Appearance and color tokens

The light and dark palettes are edited separately. Appearance exposes quick controls such as Accent, Panel background, Header background and Text. Open Advanced colors for individual surfaces. Copy and Smart invert are palette helpers; inspect the resulting contrast before publishing.

  • Surfaces: background, hero_background, card_background, tab_bar_background, border.
  • Text: foreground, muted_foreground.
  • Brand: accent, accent_foreground, user_message_background, user_message_text, launcher_background, launcher_icon_color, glow_color.

Background, typography and navigation

Background supports None, Blur orbs, Grid, Dots and Grain, plus the available image controls. Cover fills the area and may crop; Contain retains the whole image; Hide image uses the color without displaying the stored image. Blur softens the image and opacity controls its contribution. Typography sets the font and text sizing; load any custom web font on the host page.

In Launcher and navigation, set Position and Default tab, then toggle Home, Messages, Help and Changelog. Keep at least one tab. A single-tab widget hides the tab bar. Help needs published help content; Changelog needs correctly configured organization/project slugs and published releases.

How dashboard and inline settings combine

On initialization the CDN chat widget can fetch the active style from https://api.appgram.dev/api/v1/projects/PROJECT_ID/chat-widget/style. Explicit inline settings override matching dashboard keys. Data attributes override the corresponding settings-object values. Publish the canonical style in the dashboard; use inline overrides deliberately for a specific host.

Common attributes include data-theme, data-accent-color, data-position, data-font-size, data-default-tab, data-greeting, data-subtitle, data-agent-name, data-logo-url, data-options and data-team-avatars. data-auto-fetch-style="false" disables the dashboard style fetch. Use data-theme="light" when that installation should stay light.

See Chat widget installation for the full settings and event reference. If a live widget differs from the editor, check that the correct project/style was published, reload the host, and inspect inline overrides and the visitor appearance setting.

Home content fields beside the real unpublished widget preview.

Example workspace in light mode. Sample data; follow the numbered callouts.

Published Visitor appearance selection separate from Preview appearance.

Example workspace in light mode. Sample data; follow the numbered callouts.

Light accent, panel background and text controls beside the fully loaded widget preview.

Example workspace in light mode. Sample data; follow the numbered callouts.

Launcher position, default tab and visible navigation settings.

Example workspace in light mode. Sample data; follow the numbered callouts.

Was this article helpful?

Talk to sales

Tell us what you're running today and we'll map it onto AppGram.

A real human replies within one business day.