The Problem
Dawn sections use a shared color scheme system for consistent styling across the theme. But sometimes a merchant needs a one-off override — a specific background color for a single promotion or sale banner — without disrupting how the color scheme system works everywhere else on the site.
The Fix
Two small changes, in two places within sections/rich-text.liquid.
First, a new schema setting, added alongside the existing color scheme setting:

Second, a conditional inline style on the section wrapper:

The key detail is in how the two work together. Leaving off a "default" value on the schema setting means it returns blank until a merchant actively picks a color. Combined with a check for blank in the markup, the custom background only renders when that color has been chosen — otherwise the section falls back cleanly to its normal color scheme. Since inline styles always take priority over class-based CSS, the override works without needing to touch the color scheme system itself.
Where else this applies
The same pattern works in Image Banner, Multicolumn, or any other section using the color scheme setting — not just Rich Text.
Workflow
Feature branch → scoped commit → PR → merge, following standard Git practice for all theme changes.
Running into this on your own store? I fix theme issues like this for Shopify merchants — get in touch if you'd like a hand.
Full recipe: View on GitHub →


