Skip to content

Colors

TL;DR: Everything about managing color in Solis — settings, tokens, code, and accessibility, from both a developer and merchant perspective.

Everything about color, in one place. If you have a question about how color works in Solis, whether you’re a developer wiring up settings or a merchant picking brand colors in the theme editor, it should be answered somewhere in this section.

PageAnswers
Color PalettesWhat color_palette is, how it differs from individual color settings, and whether Solis should adopt it
Color SchemesWhat color_scheme_group and color_scheme are, how swappable schemes work, and the Theme Store’s minimum color-settings rule
Color Design TokensThe three-tier token model (raw → semantic → component), naming rules, and mapping a Figma color collection onto theme settings
Color in Liquid & CSSDeriving hover states, tints, and format conversions from one stored color with Liquid’s color filters
Color Accessibility & ContrastWCAG contrast ratios, testing every color scheme, and focus state contrast

Solis has two different mechanisms for exposing color to merchants, and they solve different problems:

color_palettecolor_scheme_group
What it isOne flat grid of named raw colorsSeveral full, swappable schemes, each a bundle of roles
Merchant seesA single color grid they edit directlyA picker for named schemes, applied per section
Typical useThe theme’s actual brand colors (primary, accent, secondary)“Scheme 1 is light, Scheme 2 is dark,” picked per section

See Color Palettes and Color Schemes for the full detail on each, including how they commonly work together in the same theme.

A merchant sets colors through color_palette and/or color_scheme_group settings in the theme editor. Those values flow into Color Design Tokens: the three-tier system (raw, semantic, component) that keeps them organized in code. From there, Color in Liquid & CSS covers deriving hover states, tints, and format conversions from those stored values at render time, instead of hardcoding every variant. And Color Accessibility & Contrast covers the WCAG rules every one of those color pairings has to satisfy, checked against every scheme a merchant can pick.

“Should I use color_palette or color_scheme_group?” Usually both. A palette for the theme’s core brand colors, schemes for swappable full-section looks. See the comparison table in Color Schemes.

“How do I add a hover state without a new setting?” Derive it from the base color with color_darken or color_lighten. See Color in Liquid & CSS.

“What contrast ratio do I need?” 4.5:1 for body text, 3:1 for large text, icons, and borders, checked against every scheme a merchant can select. See Color Accessibility & Contrast.

“What do I name a color token?” After its role (--color-primary), never its appearance or hex value (--color-green). See Color Design Tokens.

“Does Theme Store review check my colors?” Yes: at least 4 color settings total, every background paired with a text/foreground color, and WCAG contrast on every scheme. See Color Schemes and Color Accessibility & Contrast.