Theme

Theme tokens and layout breakpoints keep the public site visually consistent across pages and chrome.

Theme state holds light and dark token maps plus whether dual theme is enabled for visitors.

Reads need website access. Writes require update_header_footer.

Operations

Read theme state.

GET /api/v1/en/{websiteId}/theme

Replace theme settings.

PUT /api/v1/en/{websiteId}/theme

Use the following request body shape:

{
  "lightTokens": {},
  "darkTokens": {},
  "dualThemeEnabled": true
}

MCP

MCP: get_theme, update_theme.

Topics