sb_set
Set style, config, or specials keys on a single node or multiple nodes, with support for breakpoints, states, and namespaces to apply design changes across the site.
Instructions
Write style, config or specials keys on one node, or on many through edits (one save, one live frame). Per BREAKPOINT by default; base:true writes the fallback layer, right for a value that should not vary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| base | No | ||
| keys | No | ||
| edits | No | ||
| state | No | An interaction state — "hover", or "stuck" for how a pinned element looks once it is stuck (needs a sticky/fixed self-or-ancestor; a descendant styles itself through the host). | |
| unset | No | Keys to REMOVE from the same slot — the only way to undo a write. Setting null is not the same: null is a stored value, so the override still counts as present. | |
| dry_run | No | ||
| namespace | No | ||
| breakpoint | No |