Framework presets
The Framework card at the top of the Design tab matches the templates to the CSS framework your site uses. Pick one and the brand color, corners, spacing and dark mode below fill in with that framework’s own variables. You can still change any of them.
The note Fields below were filled for this framework. Save to apply. appears after you pick one. Click Save settings to use it.
The presets#
| Preset | What it uses |
|---|---|
| None | Hex colors and the built-in sizes. |
| Automatic.css 3 | Brand, hover and ultra-light shades, --radius, --space-m. Dark mode from the alt color scheme (.color-scheme--alt). |
| Automatic.css 4 | The same variables. Dark mode follows the color-scheme property and light-dark(), the way ACSS 4 switches. |
| Core Framework | --primary, --radius-m, --space-m. Dark mode from .cf-theme-dark. |
| Advanced Themer | Dark mode from the Advanced Themer toggle (data-theme). Type your own color variable names; they come from your Bricks color manager. |
| Bricks | Dark mode from the Bricks Toggle Mode element. Use your color manager variables for the brand color. |
Why variables#
With a variable such as --primary, the templates follow your framework. Change the color in Automatic.css or Core Framework and the cart, checkout, thank-you page and mini cart change with it.
The small preview on the Design tab shows the default blue when the brand color is a variable, because the framework isn’t loaded in the WordPress admin. The real color shows on the site.
With AI#
AI tools can apply a preset with the nahnu-templates/apply-framework ability.