Skip to content

Dark mode switch and dark colours (Light and dark mode)

Reign Theme overviewPremiumGet Reign Theme →

Also called: dark mode, night mode, dark theme, light and dark toggle, colour mode switch, dark logo, dark switch missing, dark colors.

This section adds a sun and moon button that lets visitors choose light or dark mode. Their choice is remembered for next time. The section holds no colours. The dark colours live in Dark Mode Colors, covered below. This is step three of Change your site colours.

  1. Pick a palette first in Pick a colour palette. Its dark version is prepared for you.

  2. Go to Appearance > Customize > Color Options > Light & Dark Mode.

    The Light and Dark Mode section, with the visitor switch, position and default mode

  3. Turn on Show Light / Dark Switch.

  4. Set Switch Position: header and mobile menu, header only, or mobile menu only. It shows only once the switch is on.

  5. Set Default Mode: light or dark. This is what a new visitor sees before they choose.

  6. Optional: add a Dark Mode Logo. It shows only in dark mode, so a dark logo does not vanish on a dark header. Set your main logo first in Site Identity > Logo. This field appears once the switch is on.

  7. Click Publish.

A sun and moon button shows in the header. Click it and the site changes between light and dark. Test in a private window as a first-time visitor.

The Blog page in light mode

The same Blog page after a visitor switches to dark mode

Check a page with a photo-heavy header and a page with forms. A leftover colour you set by hand is most likely to look wrong in one mode there.

Most sites never need to. Dark colours start from your palette. To fine-tune one, open Color Options > Dark Mode Colors. It sets the background, text, header, menu, button and footer colours used only in dark mode. See the full list of colour settings and how the colour system works.

The Dark Mode Colors section of the Customizer

The Dark Mode Colors section, continued (part 2 of 3)

The Dark Mode Colors section, continued (part 3 of 3)

Check the two logos. Site Identity > Logo is your main logo. Dark Mode Logo shows only in dark mode. Put the dark-coloured logo in the main field and the light one in the dark mode field.

Reign’s dark colours reach WooCommerce, BuddyPress, bbPress, LearnDash, The Events Calendar and WP Job Manager. They also reach the marketplace, store, membership, form and LMS plugins that get a colour fit. See plugins Reign matches to your colours and dark mode for the list. A plugin not named there uses its own design and does not switch by itself. Check its own settings for a dark option.

The community activity feed in light mode

The activity feed in dark mode

The members directory in dark mode

Set Default Mode to dark.

How do I swap a photo or banner between light and dark?

Section titled “How do I swap a photo or banner between light and dark?”

That is a separate feature, not the Customizer. Go to Reign Settings > Design and open the Dark mode images card. It links to a screen where you pair a light-mode image with its dark-mode twin. See also turn on dark mode.