Skip to content

Theme schema

The field tables on this page are generated from the service’s code at build time. How the layers merge, and what a theme can never change, is in theming the hosted page. Every field is optional, and unknown fields are rejected.

FieldTypeNotes
display_namestringShown in the page header.length 1–60.
logostringA base64 data: URI: data:image/png;base64,… (also jpeg, webp, svg+xml), at most 200 KB decoded.length ≤ 280000.
show_nameboolean
mode"light" | "dark" | "auto"auto follows the person’s device setting.
lightPaletteThe palette used in light mode.
darkPaletteThe palette used in dark mode.
font"manrope" | "system" | "inter" | "serif" | "rounded" | "mono"A font family already on the device. Nothing is downloaded.
radiusintegerCorner radius in pixels for buttons and inputs; cards use 4 more.value 0–28.
button_style"solid" | "outline" | "pill"How primary buttons look.
copymap of map of stringLocale → key → plain text. Keys: eyebrow, title, intro, done_title, done_help, continue_label. 1–300 characters, no < or >.
support_emailstringStored, not shown on the hosted page yet.length ≤ 120, pattern ^[^@\s<>"]+@[^@\s<>"]+\.[a-zA-Z]{2,}$.

All colours are #RRGGBB. A colour left out comes from the next layer down, and finally from the default theme.

FieldTypeNotes
primarystringButtons, progress and accents.pattern ^#[0-9a-fA-F]{6}$.
primary_textstringText on primary.pattern ^#[0-9a-fA-F]{6}$.
backgroundstringThe page background.pattern ^#[0-9a-fA-F]{6}$.
surfacestringCards and panels.pattern ^#[0-9a-fA-F]{6}$.
textstringHeadings and body text.pattern ^#[0-9a-fA-F]{6}$.
mutedstringSecondary text.pattern ^#[0-9a-fA-F]{6}$.
borderstringLines and card borders.pattern ^#[0-9a-fA-F]{6}$.
headerstringThe header bar.pattern ^#[0-9a-fA-F]{6}$.