Idea
Let users type a short token (e.g. ?clickable-parent, ?columns, ?fade) into a Bricks/Gutenberg style or CSS input and have the plugin expand it into the corresponding CSS block. This gives builder users a "recipe" DX without a preprocessor.
Why
The pure-CSS framework deliberately has no preprocessor/snippet-expansion mechanism (it's an out-of-scope non-goal there). A builder integration is exactly where this belongs, and it speeds up applying common patterns.
Scope
- A registry of named snippets → CSS blocks (drawn from existing macros/patterns).
- Expansion in the relevant Bricks/Gutenberg input(s); insert-and-edit.
- Keep it explicit/opt-in; no silent global rewriting.
Acceptance
Idea
Let users type a short token (e.g.
?clickable-parent,?columns,?fade) into a Bricks/Gutenberg style or CSS input and have the plugin expand it into the corresponding CSS block. This gives builder users a "recipe" DX without a preprocessor.Why
The pure-CSS framework deliberately has no preprocessor/snippet-expansion mechanism (it's an out-of-scope non-goal there). A builder integration is exactly where this belongs, and it speeds up applying common patterns.
Scope
Acceptance