DocsStyling

Styles JSON reference

Every style key, its type and default — the shape shared by the web embed and every SDK.

A site’s styles are stored as one JSON object with seven sections. It’s the exact shape returned by the get_styles MCP tool and sent to the web embed and every SDK. Every field is optional — anything you leave out falls back to the default.

Colours are hex (#1925AA) or rgba() strings. Sizes are numbers in pixels.

Example
{
  "fab":      { "position": "bottom-right", "icon": "rocket", "bg_color": "#1925AA", "border_radius": 24 },
  "card":     { "bg_color": "#ffffff", "border_radius": 12 },
  "type":     { "title_color": "#0D0A1C", "body_color": "#4b5563", "dot_inactive_color": "rgba(13,10,28,0.15)" },
  "btn":      { "bg_color": "#1925AA", "text_color": "#ffffff", "border_radius": 8 },
  "beacon":   { "style": "numbered", "bg_color": "#1925AA", "text_color": "#ffffff" },
  "overlay":  { "bg_color": "rgba(0,0,0,0.45)", "spotlight_color": "rgba(0,0,0,0.45)" },
  "carousel": { "bg_color": "#1a1a2e", "text_color": "#ffffff", "width": 600 }
}

fab — launcher button

FieldTypeDefaultDescription
positionstringbottom-leftWeb: top-left, top-center, top-right, bottom-left, bottom-center, bottom-right. Apps: left or right (default right).
iconstringquestionA flat icon key — question, compass, map, lightbulb, sparkle, search, book, rocket, chat, info, play, guide, flag, bell, gift, check, heart, lock, settings, trophy, zap, eye, cursor, chart — or a single emoji.
bg_colorcolor#7c3aedButton background. Hover is derived.
border_radiusnumber24Corner radius in px.
sizenumber44iOS / Android only. 32–72.
bottom_offsetnumber40iOS / Android only. 0–200.

card — tooltip & welcome card

FieldTypeDefaultDescription
bg_colorcolor#ffffffCard background.
border_radiusnumber14Corner radius, 0–24.

type — text

FieldTypeDefaultDescription
title_colorcolor#111111Step and welcome titles.
body_colorcolor#4b5563Step and welcome body text.
dot_inactive_colorcolorrgba(13,10,28,0.15)Progress dots for other steps.

btn — action buttons

FieldTypeDefaultDescription
bg_colorcolor#7c3aedPrimary button background.
text_colorcolor#ffffffPrimary button text.
border_radiusnumber8Corner radius, 0–24.

beacon — step markers

FieldTypeDefaultDescription
stylestringnumberednumbered, dot or ring.
bg_colorcolorfab.bg_colorBeacon colour.
text_colorcolor#ffffffNumber colour (numbered style only).

overlay — spotlight (web)

FieldTypeDefaultDescription
bg_colorcolorrgba(0,0,0,0.45)Page dimming while a tour runs.
spotlight_colorcolorrgba(0,0,0,0.45)Shadow around the highlighted element.
FieldTypeDefaultDescription
bg_colorcolor#1a1a2eSlide background.
text_colorcolor#ffffffSlide text.
widthnumber600Web only. Max modal width, 400–1400.
Something missing or unclear? Tell us and we’ll fix the page.