<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=241066823005528&amp;ev=PageView&amp;noscript=1">

Shared controls

Color modes: Light and dark sections

Every Omni module has Styles → Background → Color mode, and the theme has a matching setting under Theme → Theme settings → Color modes. Together they let you build a dark site, a light site, or a light site with a few dark sections, without touching individual color fields.

On this page

The module setting

ChoiceWhat happens
Use theme settingThe module follows Theme settings → Color modes → Color mode. This is the default, so switching the theme setting changes every module at once.
LightThe module keeps the light palette (the Global colors) even when the theme is dark.
DarkThe module paints itself with the dark palette: The section background, cards, panels, lines, icon chips, switchers, headings, text, links and buttons.

A dark module behaves like this:

  • Background type «None» paints the theme's dark page background, so the section is dark even on a light page.
  • Background type «Color» that was left at the theme Surface color turns into the dark card surface. A color you chose yourself stays as it is, so pick a dark one.
  • Gradients, images and videos stay as they are. Light text on dark background is switched on for you.
  • Cards (elevated, tinted and outlined) sit on the dark card surface with light text. Highlighted pricing plans and the CTA Band keep their brand color.
  • Buttons use the on-dark variants: A light primary button with brand text, outline buttons in the text color.
  • Forms keep their light fields from Theme settings → Forms, and the labels turn light.

The theme setting

Theme settings → Color modes holds the site-wide Color mode and the dark palette:

SettingUsed for
Color modeLight or Dark for every module set to «Use theme setting», the page background, the Site header, the blog and any text outside modules.
Dark: Page and section backgroundThe page itself and dark sections with Background type «None».
Dark: Cards and panelsCards, form panels, table rows and the Surface-color swap.
Dark: Icon chips and tinted areasIcon chips, switcher tracks, hover backgrounds and the second tint.
Dark: TextHeadings and text. Body text in cards is drawn slightly softer.
Dark: Body textParagraphs, list items, card text and lead text, a little softer than the headings.
Dark: Muted textCaptions, roles, dates and notes.
Dark: Icons and check marksCheck marks, plus marks, icons and markers. Follows the Accent color until you change it.
Dark: Borders and linesHairlines, card borders, dividers and table lines.
Dark: Links and highlightsLinks, highlighted words, icons, check marks and hover colors. Follows the Accent color until you change it.

The Site header has the same Color mode choice under Styles → Background. Dark paints the bar, the dropdown panels and the mobile menu with the dark palette; the bar colors below it apply to the light mode.

Good to know

  • Start with the theme setting. Use the module setting for the exceptions: A dark customer story on a light site, or a light form section on a dark site.
  • The dark palette should keep the same contrast as the light one: Text on «Cards and panels» at 4.5:1 or better.
  • Light text on dark background is still there for dark photos, videos and gradients on a light site. Dark color mode switches it on by itself, so the toggle hides while Dark is chosen.
  • Photos and logos are not changed. Logos in the Image and logo scroller stay white on dark sections.
  • See Colors for the light palette and Backgrounds for the background types.

What follows which setting in Dark color mode

ElementSetting
Headings, card titles, namesDark: Text
Leads, descriptions, card and body textDark: Body text
Notes, captions, rolesDark: Muted text
Eyebrows, accent words, figuresTheme Accent color
Icons and check marksDark: Icons and check marks
LinksDark: Links
Site footer text, column titles and linksTheme settings → Website footer

Support

Did this answer your question?

If not, write to us and say which page you were on.