Cardinal docs/Theme settings
Color schemes
Four reusable palettes that every section, card and button reads from.
Cardinal does not ask you to pick a background color and a text color on every section. Instead you define a handful of color schemes once, and each section chooses one. Change a scheme and every section using it updates at the same time.
Find them in Theme settings → Colors, where they are named Scheme 1 to Scheme 4. Every theme style fills the same four with its own colors. Here they are as they ship in the Cardinal style:
scheme-1
Light
Headings, body copy and buttons all read from this one scheme.
A light ground with buttons in the text colour. The everyday scheme.
- Background
- #FFFFFF
- Text
- #1B1917
- Button
- #1B1917
- Button label
- #FFFFFF
- Secondary label
- #1B1917
- Border
- #1B1917
scheme-2
Dark
Headings, body copy and buttons all read from this one scheme.
Inverted: light text on a dark ground. Good for the footer and for one or two deliberate moments.
- Background
- #1B1917
- Text
- #F5F0EA
- Button
- #F5F0EA
- Button label
- #1B1917
- Secondary label
- #F5F0EA
- Border
- #F5F0EA
scheme-3
Light, accented
Headings, body copy and buttons all read from this one scheme.
A light ground with a separate accent on buttons and borders — the scheme to reach for when a section needs to stand apart.
- Background
- #F0E6DA
- Text
- #1B1917
- Button
- #A9432F
- Button label
- #FFFFFF
- Secondary label
- #A9432F
- Border
- #1B1917
scheme-4
Dark, accented
Headings, body copy and buttons all read from this one scheme.
A dark ground with a separate accent on buttons and borders — the scheme to reach for when a section needs to stand apart.
- Background
- #1B1917
- Text
- #F5F0EA
- Button
- #C0563F
- Button label
- #FFFFFF
- Secondary label
- #E08A70
- Border
- #E08A70
The pattern is the same in all three styles: Scheme 1 is the light, everyday scheme; Scheme 2 inverts it; Scheme 3 is a second, warmer light ground; and Scheme 4 is dark, with the style's accent color on its buttons.
What a scheme controls
Each scheme carries a small set of colors rather than a long list of one-off settings. Everything inside a section derives from these:
Choosing a scheme for a section
Almost every section has a Color scheme setting, under a Colors heading in its settings. Blocks inherit the scheme of the section they sit in, so a heading inside a dark section is light automatically — you do not have to set a text color.
Editing or adding a scheme
- 1
Open Theme settings → Colors
Each scheme is listed with its swatches.
- 2
Edit a scheme
Click it and change any color. Every section using that scheme updates live in the preview.
- 3
Add a scheme
Use Add scheme. It appears in the Color scheme dropdown of every section immediately.
- 4
Set the page default
Theme settings → Layout → Default color scheme colors the page behind your sections and the cart, menu and search drawers. New sections start on Scheme 1 regardless. See Layout.
Per-block color overrides
A few blocks let you override the scheme for one element: the heading block has a text color and a gradient, the subheading and paragraph blocks have a text color, the button block has background and label colors, and the icon block has its own colors. Slides and the banner can also put a colored content box behind their text. Use these sparingly, for a deliberate accent. Everything else should keep inheriting.
Still stuck? Contact support and we will help.