## Set up dark mode

Product: Fabula - News & Magazine WordPress Theme
URL: https://hub.jkdevstudio.com/docs/fabula/theme-settings/dark-mode
Updated: 2026-11-28
Summary: Choose the scheme visitors see first, set your dark colors, and test the light and dark switch in Fabula, with the Pro settings noted where they differ.

Dark mode is part of the free theme, with no plugin needed. Your site has a light scheme and a dark scheme, a switch in the header lets visitors change between them, and the choice is remembered in a cookie. This article gets you from the defaults to a dark mode you have checked yourself.

The color settings themselves are listed in [Colors and color schemes](https://hub.jkdevstudio.com/docs/fabula/theme-settings/colors-and-color-schemes).

:::steps

### Pick what visitors see first

Go to [[Appearance > Customize > Fabula Theme > Colors]] and stay on the **General** tab. Choose a value for **Default color scheme**:

- **Device** (the default) follows the visitor's phone or computer. It suits most public sites.
- **Light** or **Dark** opens every first visit in that scheme, whatever the device asks for.

A visitor who clicks the switch overrides this choice from then on.

<figure class="doc-figure" data-align="center"><img src="https://hub.jkdevstudio.com/storage/docs/2026/11/9191ebdd-236c-42d3-8388-f7cd4b70c2ad.webp" alt="The Default color scheme control in the Customizer with Device, Light and Dark buttons"><figcaption>Choose what a first visit shows.</figcaption></figure>

### Set the dark colors

Open the **Dark** tab. It holds four colors: **Background**, **Background (Secondary)**, **Heading Color**, and **Text Color**. They apply only while the dark scheme is showing, so you can change them freely without touching the light site.

Keep enough contrast between **Text Color** and **Background**. The defaults are `#c7c7c7` text on `#34363a`.

### Check the accent on both backgrounds

The accent color (**Primary** on the **General** tab) is shared by both schemes. Look at buttons and links in the preview with the dark scheme on, and pick a value that reads well on the light and the dark background.

### Publish and test the switch

Click **Publish**. Then open your site in a private browser window, so no earlier choice is stored:

1. Check which scheme the first visit shows. It should match step 1.
2. Click the sun and moon switch in the header. The site changes scheme.
3. Open another page. The scheme stays as you left it.

To test **Device**, change the appearance setting of your computer or phone from light to dark, then open the site in a new private window.

:::

<div data-callout="success">

If the scheme follows your choices on a second page, dark mode is working.

</div>

## With Fabula Pro active

Fabula Pro moves the default scheme to its own panel, and the Customizer's **Default color scheme** no longer applies. Do this instead:

:::steps

### Set the default

Go to [[Fabula Pro > Theme Options > General]] and choose **Light** or **Dark** for **Default Color Scheme**. Leave **System Color Scheme Detection** on (its default) to follow the visitor's device until they use the switch, or turn it off to always start from your default.

<figure class="doc-figure" data-align="center"><img src="https://hub.jkdevstudio.com/storage/docs/2026/11/00e23d58-07f0-408e-b444-28be6d85239d.webp" alt="The Default Color Scheme setting on the General page of Theme Options, with System Color Scheme Detection below it"><figcaption>Pro keeps the default scheme in Theme Options.</figcaption></figure>

### Turn on the switch

Pro's menu has the switch off by default. On [[Fabula Pro > Theme Options > Navigation]], turn on **Enable Color Switcher** on the **General Settings** tab for the desktop menu. For phones, turn on **Enable Color Switcher** on the **Mobile Settings** tab.

:::

The dark colors are still set in the Customizer, on the **Dark** tab described above.

## Questions

<details><summary>The default does not change when I test it</summary>

A choice made with the switch is stored in the browser and wins over the default. Test in a private window, or delete the `jkd-color-scheme` cookie. Clear any page cache plugin as well, because a cached page can carry the other scheme.

</details>

<details><summary>Can I show only the dark site?</summary>

Set the default to **Dark**. The free theme always shows its switch, so a visitor can still change to light.

</details>