A theme in shape
colors map. Typography and spacing apply globally.
Endpoints
Fetch the current draft theme document. Apply RFC 6902 JSON Patch operations to the draft. Publish the current draft theme to live.Patching tokens
The patch protocol is identical to patching a page — an RFC 6902 array of{ op, path, value } objects. Paths target JSON Pointer locations inside the theme document.
Draft vs live
Common errors
Related
Theme in PageBlocks
How color tokens, typography, and spacing flow from the theme into individual block props.