swebsy_commit_design_direction
Commit a new site to a visual direction before generating its first page, applying fonts, type roles, and palette swatches so later edits stay consistent.
Instructions
Commit this site to a specific visual direction, and apply it (fonts, type roles, palette swatches). Call this ONCE, BEFORE generating a new site's first page — a site with no committed direction has nothing for later edits to stay consistent with, and the result drifts to generic. Prefer a directionId from the sampled menu; supply the custom fields only when the user's brief clearly calls for something the menu doesn't cover. Not needed when editing a site that already has a direction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| custom | No | A direction you authored, when no menu entry fits the brief. Must be as specific as a menu entry — a face with actual character, a real palette, a named signature move. | |
| directionId | No | Id of a direction from the sampled menu (e.g. 'oat-editorial'). Preferred over `custom`. |