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.
| Field | Type | Notes |
|---|---|---|
display_name | string | Shown in the page header. |
logo | string | A base64 data: URI: data:image/png;base64,… (also jpeg, webp, svg+xml), at most 200 KB decoded. |
show_name | boolean | |
mode | "light" | "dark" | "auto" | auto follows the person’s device setting. |
light | Palette | The palette used in light mode. |
dark | Palette | The palette used in dark mode. |
font | "manrope" | "system" | "inter" | "serif" | "rounded" | "mono" | A font family already on the device. Nothing is downloaded. |
radius | integer | Corner radius in pixels for buttons and inputs; cards use 4 more. |
button_style | "solid" | "outline" | "pill" | How primary buttons look. |
copy | map of map of string | Locale → key → plain text. Keys: eyebrow, title, intro, done_title, done_help, continue_label. 1–300 characters, no < or >. |
support_email | string | Stored, not shown on the hosted page yet. |
Palette
Section titled “Palette”All colours are #RRGGBB. A colour left out comes from the next layer down, and finally from the default theme.
| Field | Type | Notes |
|---|---|---|
primary | string | Buttons, progress and accents. |
primary_text | string | Text on primary. |
background | string | The page background. |
surface | string | Cards and panels. |
text | string | Headings and body text. |
muted | string | Secondary text. |
border | string | Lines and card borders. |
header | string | The header bar. |