sb_theme
Read a site's global palette and type scale, or patch specific color and text style tokens while preserving unspecified values.
Instructions
The site's palette and type scale — the layer every element's style preset resolves from, so one token repaints every page at once. Call it with nothing to read what the site actually has. colors and text_styles PATCH the saved document: what you do not name is kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | No | Token id -> CSS colour, e.g. { "heading": "#2E2A3B", "primary": "#E8557A" } | |
| dry_run | No | ||
| site_id | No | ||
| text_styles | No | Text style slug -> base declarations, e.g. { "h1": { "fontSize": "48px" } } |