Datoden Dark Mode Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin 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.
Screenshots
No screenshots provided
