Extending¶
Background, Spacing, and Typography are the built-in set, but they're
defined the same way a contrib or custom addition would be — YAML plus a
settings_key resolving to a config-stored option table. Three levels,
covered in full in Extending:
- A new option in an existing group (another background color, another heading size) — a row in that group's option table, no code.
- A whole new style group — a
{provider}.canvas_builder_styles.ymlfile in your own theme or module, no PHP required. See Style definitions via{provider}.canvas_builder_styles.yml. - An entirely custom widget — a new style type (not just a new group using select/media/overlay/box_model), which does need a small PHP service. See Custom style types.