The three layers
Each layer overrides the one before it, so you only need to touch the narrowest layer that applies to what you’re changing.Global theme
Theming is set once via
setTheme. This is your baseline, applied to everything unless overridden below.”Theme preset (optional)
A named, server-defined theme you can create in the admin panel and apply to a specific Tour, Highlight, or Message via
themeId. Useful for a consistent look across a group of related content without repeating settings.Per-content overrides (optional)
Individual property tweaks (themeOverrides) for one specific piece of content, layered on top of whatever global theme or preset it’s already using.
Think of it like CSS specificity: global theme is your stylesheet, a preset is a class, and overrides are inline styles on one element.
What’s themeable
Roughly 20 properties, grouped into six categories:| Category | Covers |
|---|---|
| Colors | Primary, secondary, background, and text colors |
| Corner Radius | Rounding on cards, buttons, and spotlight cutouts |
| Fonts | Font family and weight for headings and body text |
| Spacing | Padding and margins within content cards |
| Shadows | Elevation/drop-shadow styling on cards and modals |
| Button Layout | Button shape, sizing, and arrangement |
