Skip to content

Dark mode for the whole website

Dark Mode

Dark Mode gives the whole website a dark mode with Datoden's own engine – with a button, following the system and in the admin. Pro makes it your own.

  • Free to use
  • Works fully without Pro
  • Prowhen you want more

In WordPress the plugin is called Datoden Dark Mode – in the DT-addons menu it is listed as DT-darkmode.

Dark mode and contrast reportThe same page in light and dark mode with the button to switch, and a contrast report that measures the texts in both modes.Light modeDark modeFollow systemLight modeDark modeContrast reportProLight mode: 46 of 46Dark mode: 45 of 46One text to look at: the footer linksDark login pagePro
Dark mode for the whole website – with Pro also the login page, your own menu and colour, and a contrast report.

How Dark Mode works

DT-darkmode gives your website a dark and a light mode. The plugin's own engine reads your theme's stylesheets and works out a dark version of the colours – nothing is loaded from other servers. A round button in the corner lets visitors choose Follow system, Light mode or Dark mode.

A button for visitors

A round button in the bottom right or bottom left corner opens the choices Follow system, Light mode and Dark mode. The choice is stored in the visitor's browser and used on the next visit. You can turn the button off under Button.

Default mode

Under Default mode you decide what applies until visitors choose for themselves: Follow system (the setting on their device), Light mode, or Dark mode from the very first visit.

Colours recalculated, brand kept

The engine converts your theme's colours, including hover states, CSS variables and colours written directly in the page. Brand colours such as coloured buttons stay, images and videos are left alone, and small dark icons turn light. To keep part of a page as it is, add the attribute data-dt-dark-ignore to the element.

No flash

The mode is set before the page is painted, so it never shows in the wrong mode first. The cache of common cache plugins is cleared automatically when you save the settings.

Dark admin

With Also in the admin, the WordPress admin gets the same button and the same mode as the website. The choice is shared between the admin and the site.

Dark login page Pro

The login page follows the same mode as the admin and gets the button too. The Log In button keeps its blue colour and the links are made easy to read.

Contrast report Pro

Below the settings, enter a page on your site and click Check the contrast. The page is read in light and dark mode and every text is measured against its background using WCAG 2.1 (4.5:1, or 3:1 for large text). It all runs in your browser, and texts that are hard to read are listed.

Your own menu item, colour and texts Pro

Add a CSS class such as dt-colormode-toggle to a menu item and it switches the mode instead of the button. Pick the button's colour under Accent colour and change its wording per language under Texts on the button – ready-made texts are included for ten languages.

What it looks like

Everything without a Pro label works for free. What is marked Pro is included in the Pro version.

Dark login pageThe login page on example.se with the button to switch mode at the bottom right, and a list of what comes along: the same mode as the admin, the button, the blue Log in button and easy-to-read links.example.se/wp-login.phpLog inUsername or email addressanna@example.comPassword••••••••••Log inLost your password?The login pageProFollows the adminThe button to switch modeLog in stays blueThe links are easy to readAlso in the adminThe same button in the admin.The choice is shared with the site.
The same mode all the way – with Pro the login page also follows the admin, with the button and easy-to-read links.
Contrast report for a pageThe contrast report for the page About us: all texts are easy to read in light mode, and in dark mode two texts are listed with the measured contrast and the requirement according to WCAG 2.1.Contrast reportProexample.se/about-us/Check the contrastLight modeAll 48 texts are easy to readDark mode2 of 48 texts are hard to readTextContrastRequiredOpen Mon–Fri 8–173.1:14.5:1© 2026 Example AB · Privacy2.8:14.5:1Requirement according to WCAG 2.1: 4.5:1 for normal text, 3:1 for large text.
See which texts are hard to read – with Pro every text is measured in light and dark mode, right in the browser.
Own menu item and colourA website menu where the menu item Dark mode switches mode with the CSS class dt-colormode-toggle, the list of the four classes and the choice of accent colour for the button menu.Menu item and colourProServicesAbout usContactDark modeMenu items that switch modedt-colormode-toggleswitches between dark and lightdt-colormode-darkdark modedt-colormode-lightlight modedt-colormode-systemfollow systemAccent colourBorder and menu highlightFollow systemLight modeDark mode
Switch mode from the menu instead of the button – with Pro your own menu item and an accent colour that suits the website.
Button, default mode and textsThe default mode Follow system with Light mode and Dark mode, the button at the bottom right, and your own texts on the button per language.Button and default modeDefault modeFollow systemUses the visitor’s device setting.Light modeThe website as it is designed.Dark modeDark from the first visit.ButtonBottom leftBottom rightTexts on the buttonProSVENFollow systemLike my deviceLight modeLightDark modeDark
Visitors choose for themselves with the button – with Pro your own texts on the button for each language.

Get started

After installing – how to set up Dark Mode.

  1. Open the settings

    Go to DT-addons → DT-darkmode in the WordPress menu. Dark mode is on straight after installation, and changes are saved automatically.

  2. Choose the default mode

    Under Default mode, pick Follow system, Light mode or Dark mode for visitors who have not made a choice.

  3. Place the button

    Under Button, choose Bottom right or Bottom left, or turn the button off. The preview shows how it will look.

  4. Check your site

    Open the website and switch modes with the button. If your cache plugin is not cleared automatically, clear its cache.

Free and Pro

Pro builds on the free version – it stays as the base, with all your settings, and Pro adds the rest.

Free

  • Dark mode with a button
  • Follows the system setting
  • Dark admin
  • No flash on page load

Dark Mode Pro

Everything in the free version, plus:

  • Dark login page
  • Contrast report
  • The button in your own menu
  • Your own accent colour
  • Your own button texts

Prices

Choose how many websites and how you want to buy. Prices exclude VAT – VAT is calculated at checkout.

Number of websites
One plugin €9€19€59one-off
  • Yours forever
  • Every update in the major version (e.g. 1.x)
  • A discount on the next major version
Recommended Subscription €8€17€25per month €99€199€299 per year – billed yearly €13€25€43per month
  • Every Pro plugin – new ones included as they arrive
  • Always the latest version, new major versions included
  • Plus Website Guard Pro: safe updates
  • Cancel any time
All Pro plugins €109€219€469one-off
  • Every plugin in one purchase – the most for your money
  • Plus Website Guard Pro: safe updates
  • Yours forever
  • Every update in the major version

* Up to 100 websites. Datoden may end a subscription and then refunds the remaining part of the paid period.

You sign in to your Datoden account (or create one for free) and pay securely at Stripe by card. Receipt and invoice are emailed right away.

Buy and install Pro

The licence follows your Datoden account – no key to paste.

  1. Buy

    The purchase is saved on your Datoden account as soon as the payment has gone through.

  2. Download

    Get the Pro plugin under My account → My purchases → Licences.

  3. Install

    Drop the zip file on Website Guard. Pro is added on top of the free version – everything you have done stays.

  4. Connect

    Connect the website in Website Guard. The Pro updates then arrive as ordinary WordPress updates.

Frequently asked questions

Are images and logos changed?

No. Images and videos are not changed, and brand colours such as coloured buttons are kept. Small dark icons are made light so they stay visible.

Can I keep part of a page as it is?

Yes. Add the attribute data-dt-dark-ignore to the element and the engine leaves it alone.

Is anything loaded from other servers?

No. The engine and the button run from the plugin itself, with no external requests and no tracking.

Is the visitor's choice remembered?

Yes. It is stored in the visitor's browser and applies until they choose something else.

Does it work with cache plugins?

Yes. The cache of common cache plugins is cleared automatically when you save. With other cache plugins, clear the cache yourself after making changes.

What happens when a licence runs out?

Nothing stops working. A purchase never runs out, and when a subscription ends the plugins keep every function – only the updates from Datoden stop.

What is a major version?

The first number in the version. A purchase includes every update in that major version, for example all 1.x versions. A new major version (2.0) comes about once a year with clearly new features and comes at a discount as an upgrade. A subscription always includes it.

How are websites counted?

Websites connected to your Datoden account with a Pro plugin switched on, in the order they were connected. Disconnect a website in My websites to move the licence to another.

Do I need a licence key?

No. The website is connected to your Datoden account with Website Guard, and Datoden knows which updates your licences include.

Can I go back to the free version?

Yes. Deactivate Pro – the free version keeps running with the same settings. Functions that only exist in Pro stop, but nothing is deleted.

Do I keep the free version?

Yes. Pro is an add-on: the free version stays installed and active as the base and is updated from WordPress.org as usual, and Pro adds the Pro features on top. On WordPress.org the free versions are called Datoden …, for example Datoden Dark Mode.

Is VAT included?

Prices exclude VAT. VAT is calculated at checkout from your country. Companies in other EU countries can enter their VAT number.

Already bought?

Your licences, websites and downloads are under My account → My purchases → Licences.