Title: Datoden Dark Mode
Author: datoden
Published: <strong>October 28, 2026</strong>
Last modified: October 28, 2026

---

Search plugins

![](https://ps.w.org/datoden-dark-mode/assets/banner-772x250.png?rev=3771396)

![](https://ps.w.org/datoden-dark-mode/assets/icon.svg?rev=3771396)

# Datoden Dark Mode

 By [datoden](https://profiles.wordpress.org/datoden/)

[Download](https://downloads.wordpress.org/plugin/datoden-dark-mode.3.0.19.zip)

 * [Details](https://wordpress.org/plugins/datoden-dark-mode/#description)
 * [Reviews](https://wordpress.org/plugins/datoden-dark-mode/#reviews)
 * [Development](https://wordpress.org/plugins/datoden-dark-mode/#developers)

 [Support](https://wordpress.org/support/plugin/datoden-dark-mode/)

## Description

In the WordPress admin the plugin is shown as “DT-darkmode” in the DT-addons menu(
Datoden’s menu).

DT-darkmode gives your visitors a dark mode that works on any theme.

 * A round button lets visitors choose Follow system, Light mode or Dark mode. The
   choice is remembered and applied before the page is painted, so it never flashes.
 * The engine reads your theme’s stylesheets and writes a dark version of them –
   hover states, media queries and CSS variables included. Inline colours and small
   dark icons are converted too.
 * Brand colours such as coloured buttons are kept. Images and videos are never 
   changed.
 * Everything runs from the plugin itself: no external requests, no tracking.
 * Settings with a live preview: default mode, button on/off and position.
 * The same button in the WordPress admin, so the admin can be dark too.
 * The button’s texts are ready in ten languages and follow the visitor’s language.

#### Pro add-on

In the separate paid add-on Datoden Dark Mode Pro (from Datoden, not part of this
plugin): dark mode on the login page, a contrast report, menu items that switch 
the mode, an accent colour for the button and your own texts on the button per language.

#### Free Datoden account (optional)

Everything in the plugin works without an account. Connect the website to a free
Datoden account and you also get website monitoring: Datoden checks your website
every five minutes and emails you right away if it goes down, and before the SSL
certificate or the domain expires. All your connected websites are shown in one 
place in Datoden, and Datoden’s apps (Rapport, Schema, PDF, Bild, Font and Vektor)
are included. Nothing is sent to Datoden until you click Connect; after that the
website sends its address and the names and versions of its DT plugins once a day.
You can disconnect at any time. See External services below for exactly what is 
sent.

### External services

This plugin can connect to Datoden (https://datoden.com), a service run by Responsit
AB, Sweden. The connection is optional – everything in the plugin works without 
it. Nothing is sent to Datoden until an administrator clicks “Start DT-website-guard”(
or “Connect”) in the WordPress admin and approves the connection on datoden.se or
datoden.com. You can disconnect at any time with “Disconnect” (or by turning DT-
website-guard off) on the DT-website-guard page; then nothing more is sent.

What is sent to Datoden, and when (only while the website is connected, except the
connection itself):

 * When you connect: the website address, the administrator’s language (Swedish 
   or English), the WordPress address that Datoden returns to and a random check
   value. After you approve on Datoden, the website sends the one-time code it got
   back, together with the website address and the language, and receives a website
   key that is stored in your database.
 * Once a day (WordPress cron), and when an administrator opens a DT plugin page
   and the last contact is more than six hours old: the website key, the language,
   and the folder names, versions and active state of the installed Datoden plugins(
   for example datoden-cookie-consent). The answer can contain short messages from
   Datoden and updated wording for the DT plugins’ texts, which are shown on the
   plugins’ pages.
 * When an administrator opens the DT-website-guard page or a DT plugin page (at
   most every five minutes), or clicks “Check again”: the website key, to get the
   latest result of Datoden’s monitoring (up or down, response time, and the expiry
   dates of the SSL certificate and the domain). “Check again” also asks Datoden
   to check the website once more.
 * When the DT-website-guard page is shown and the DT-website-guard plugin is installed:
   the list of Datoden’s plugins and their versions is fetched from datoden.se, 
   at most every six hours. No data about the website is sent.
 * When you click “My websites”: the website key, the language and the email address
   of the logged-in WordPress user, so that Datoden can sign you in directly if 
   it is the same address as your Datoden account.
 * When you save, use or delete a settings profile: the website key, and when saving
   the settings of DT-cookie and DT-darkmode (no personal data; website-specific
   values such as the logo and the privacy page are left out). They are stored in
   or read from your Datoden account.
 * When you disconnect: the website key, so that Datoden can remove it.
 * While connected, Datoden visits the public website every five minutes (like any
   visitor) to check that it is up, reads its SSL certificate and looks up the domain’s
   public registration data to find when it expires. The plugin shows the dates 
   as Datoden reports them; the website does not contact any other service for this.

Datoden terms: https://datoden.com/terms/
 Datoden privacy policy: https://datoden.
com/privacy-policy/

### Source code

Everything in this plugin is the original, human-readable source code. The PHP, 
JavaScript and CSS files are written by hand and are neither minified nor generated
by a build tool, so there is no build step: the files in the plugin folder are the
source and can be read and edited directly.

## FAQ

### Can I keep part of the page as it is?

Yes. Add the attribute `data-dt-dark-ignore` to the element.

### I use a cache plugin

Clear the cache after changing the settings.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Datoden Dark Mode” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ datoden ](https://profiles.wordpress.org/datoden/)

[Translate “Datoden Dark Mode” into your language.](https://translate.wordpress.org/projects/wp-plugins/datoden-dark-mode)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/datoden-dark-mode/),
check out the [SVN repository](https://plugins.svn.wordpress.org/datoden-dark-mode/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/datoden-dark-mode/)
by [RSS](https://plugins.trac.wordpress.org/log/datoden-dark-mode/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.0.19

WordPress.org review: activation never deactivates the plugin itself; long lines
in dt-colormode.js split up; the return from Datoden (Connect) is also checked with
a nonce (core 3.0.8); the readme describes the source code.

## Meta

 *  Version **3.0.19**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [accessibility](https://wordpress.org/plugins/tags/accessibility/)[color scheme](https://wordpress.org/plugins/tags/color-scheme/)
   [dark mode](https://wordpress.org/plugins/tags/dark-mode/)[light mode](https://wordpress.org/plugins/tags/light-mode/)
   [Night Mode](https://wordpress.org/plugins/tags/night-mode/)
 *  [Advanced View](https://wordpress.org/plugins/datoden-dark-mode/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/datoden-dark-mode/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/datoden-dark-mode/reviews/)

## Contributors

 *   [ datoden ](https://profiles.wordpress.org/datoden/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/datoden-dark-mode/)