Docs

Dark mode

1 min readUpdated November 29, 2026

The Dark mode card on the Design tab turns the cart, checkout, thank-you page and mini cart dark together with the rest of the site.

Modes#

ModeWhen the pages are dark
OffNever. Always light.
Follow the site toggleWhen the Bricks, Advanced Themer, Core Framework or Automatic.css toggle is set to dark.
Toggle and deviceAlso when the visitor’s device is set to dark, unless the toggle picked light.

Dark colors#

  • Dark background: the card background in dark mode.
  • Dark mode text: the text color in dark mode.

Each takes a hex code or a framework variable. Lines, borders and muted text are mixed from these two, so the cards always match.

Toggle selectors and advanced options#

Open Toggle selectors and advanced options to change what counts as dark.

Dark when the page matches takes one selector per line. Built in:

  • Bricks Toggle Mode (data-brx-theme)
  • Advanced Themer (data-theme)
  • Core Framework (cf-theme-dark)
  • Automatic.css 3 (color-scheme--alt)

Add the class or attribute your own toggle sets. Restore the built-in list puts the defaults back.

Follow the CSS color-scheme is for Automatic.css 4 and other setups that switch the color-scheme property with light-dark(). Turn it on only when the site sets color-scheme itself.