HOC SiteDocumentation

get_theme

section=theme (default) loads website light/dark theme tokens. section=layout loads maxContentWidthPx, breakpoints (including extra keys such as paddings), and headerNavCompactUpToBreakpointId.

get_theme · Group: theme

section=theme (default) loads website light/dark theme tokens. section=layout loads maxContentWidthPx, breakpoints (including extra keys such as paddings), and headerNavCompactUpToBreakpointId.

Inputs

FieldRequiredNotes
websiteIdrequired
sectionoptionaltheme (default) | layout

Maps to

  • GET /api/v1/{locale}/{websiteId}/theme → API
  • GET /api/v1/{locale}/{websiteId}/layout → API