🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Onyx Dark Mode Switcher icon
Activement maintenu Testé avec WP 7.1 #13 in dark mode

Onyx Dark Mode Switcher

Switch between light and dark themes for a more comfortable viewing experience, day or night.

Installations actives400+100+ niveaux
Téléchargements · 30D1.3K▲ +97.4% vs prev. 30d
Évaluation—0 avis
Score de santé70/100Bon
Téléchargements de tous les temps4.5KDepuis janvier 2026
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.3PHP 7.2+
Téléchargements · 7j399• -0.3% week over week
Notre verdict

Choix solide

Onyx Dark Mode Switcher is a solid plugin choice in 2026, with a few things worth checking first. It runs on 400+ sites and was last updated 2 days ago, and scores 70/100 on our health check.

  • Développé activement — Dernière mise à jour il y a 2 jours
  • Testé avec le dernier WordPress (7.1)
  • Momentum — downloads up 97.4% vs the previous 30 days
  • Petite base d'utilisateurs (400+ installations actives)
  • Très peu de critiques jusqu'à présent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

4795142Sep 4Oct 18Dec 2
Hier102
Moyenne quotidienne (1 ans)14
Jour de pointe190Nov 24, 2026
12 Derniers mois4.5K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Onyx Dark Mode Switcher stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
mode sombre #19 2,221 Meilleurs plugins en mode sombre →
dark mode switcher #7 201 Best dark mode switcher plugins →
light dark toggle #11 665 Best light dark toggle plugins →
Night Mode #13 328 Best Night Mode plugins →

Adoption de version

Part de sites actifs par version.

  • 1.141.2%
  • 1.233.7%
  • 1.025.1%

About Onyx Dark Mode Switcher

À partir du Lisez-moi officiel · v1.2.1

Description

A lightweight WordPress plugin that lets your visitors switch between light and dark mode in one click.

Install it, activate it, and you are done. Onyx reads the colors your theme actually renders and works out a matching dark palette on its own, so there is no stylesheet to write and no theme to configure. It works with any WordPress theme.

Dark mode is applied before the page paints, so visitors never see a flash of white before the page turns dark. Their choice is remembered on their next visit.

Everything below is optional. Onyx is useful the moment you activate it, and every setting is there for the day you want to fine tune it.

Ways to Turn Dark Mode On

Dark mode does not have to be a button your visitors go looking for. Choose whichever of these suit your audience, or use them together.

  • One click switch – a floating toggle button on every page
  • OS Aware Dark Mode – follows the visitor’s own system setting, from their very first visit
  • Scheduled Dark Mode – turns on automatically between two times, for example 20:00 to 06:00. Times follow each visitor’s own clock, not your server’s, and windows that run past midnight are handled properly
  • Dark Mode on Start – open the site in dark mode by default
  • Keyboard shortcut – visitors press Ctrl+Shift+D
  • Your own button – point Onyx at any CSS selector on your site and that element becomes the switch
  • Switch in the menu – add the toggle to any WordPress navigation menu, with its own size and margins

Whichever route a visitor takes, their choice is remembered on their next visit.

A Switch Button You Can Style

The floating button is meant to look like part of your design, not like a plugin.

  • 12 light icons and 14 dark icons – suns, moons, sunrise and sunset, cloud and bulb variants
  • 4 shapes – square, round, rounded square and an animating blob
  • 8 screen positions, each with its own offset in pixels
  • Button size and icon size
  • Separate background and icon colors for light mode and dark mode
  • Adjustable drop shadow – horizontal, vertical, blur and color
  • Optional tooltip with your own wording

13 Color Presets, or Your Own

Pick a ready made dark palette or build one yourself. The Colors tab previews your choice live, before you save.

  • 13 presets, from neutral charcoal through deep blue, violet, forest, amber and true black
  • A full custom palette – background, secondary background, text, links and link hover, inputs and placeholders, borders, and buttons including their hover state
  • Live preview that updates as you pick a preset or edit a color
  • Per selector color overrides – for the occasional element the automatic pass gets wrong, give it a CSS selector and set its background, text and border colors directly

Images, Video and SVG

The parts of a page that most often look wrong in dark mode are the ones that carry their own colors. Onyx gives each of them a control.

  • Replace images – serve a different image file in dark mode, one for one. Ideal for a dark version of your logo
  • Invert images – flip specific images so line art and diagrams stay readable
  • Invert SVGs – smart inversion for inline SVG icons and graphics
  • Image grayscale – soften photography in dark mode
  • Video grayscale – the same treatment for embedded video
  • Darken background images – dim CSS background images, with the level under your control

Decide Where Dark Mode Applies

Some pages should never go dark. A checkout, a photo gallery, a landing page built in brand colors.

  • Skip selectors – list HTML tags, classes or IDs that dark mode should leave alone
  • Apply button styles to classes – name the classes your theme uses for buttons so they recolor correctly
  • Disable per post type – switch dark mode off for single entries of any post type
  • Disable per page – tick one box in the Onyx Dark Mode panel in the editor sidebar and that entry always renders in its normal colors

Themes With Their Own Dark Mode

Some themes ship a dark mode of their own. Onyx can drive it instead of recoloring the page itself.

  • Theme Integration – enter the classes your theme uses for its dark and light modes on the Settings tab. Onyx adds them to the page body as visitors switch, and leaves the coloring to your theme
  • Everything else still applies – the switch button, menu switch, OS aware mode, schedule, keyboard shortcut and remembered choice all work as usual
  • Theme suggestions – a theme can supply its classes itself, and Onyx shows them on the Settings tab and uses them until you enter your own

Custom Code

For when you want the last word.

  • Custom CSS – loaded alongside the generated dark mode styles
  • Before and after toggle JavaScript – run your own code every time a visitor switches, on both sides of the toggle

Outils

  • Export every setting to a JSON file as a backup
  • Import that file on another site to set it up in one step
  • Reset everything back to the defaults it shipped with

Pour les développeurs

  • onyx_theme_classes – return an array with `dark` and `light` keys to supply your theme’s own mode classes
  • onyx_disallowed_elements – add selectors that dark mode should always leave alone, so a theme or plugin can keep its own elements out of the recoloring

Built to Stay Out of the Way

  • No flash of light content – the mode is resolved before the browser paints
  • Admin styles and scripts load only on the plugin’s own settings screen, never across your dashboard
  • No third party libraries, no tracking, no bloat
  • Traduction prêt

Installation

The easy way to install the plugin is via WordPress.org plugin directory.

  1. Go to WordPress Dashboard > Plugins > Add New
  2. Search for “Onyx Dark Mode Switcher” and install the plugin.
  3. Activate Plugin from “Plugins” menu in WordPress.

Once activated, the settings live under Onyx Dark Mode Switcher in your WordPress admin menu.

Journal de modifications

1.2.1 – 30 Nov 2026

  • Menu switch and custom switch: now work on every copy, including the mobile menus that themes clone from the main menu
  • Schedule: a visitor’s earlier choice no longer keeps the site light or dark after the scheduled time starts or ends
  • Dark color presets: the brown preset is replaced with Deep Ocean, a dark blue palette
  • Admin: Documentation link in the plugin menu and on the settings page
  • Settings: “Dark/List Mode” and “Key Board Shortcode” labels corrected

1.2.0 – 16 Nov 2026

  • Material Design Icons updated to 7.4.47 and loaded under the same stylesheet handle as in the other HashThemes themes and plugins, so it loads only once – Changed

1.1.4 – 15 Nov 2026

  • Menu switch: themes that style menu links could override its margins and add an underline or border; the margins set in Onyx now always apply, with no underline or border
  • Plugin description: “WordPress” corrected to “WordPress”
  • Readme: Theme Integration (using your theme’s own dark mode classes) and the onyx_theme_classes and onyx_disallowed_elements developer filters are now described, with a new FAQ

1.1.3 – 11 Oct 2026

  • Developers: onyx_disallowed_elements filter, for themes and plugins to keep their own elements out of dark mode

1.1.2 – 2 Oct 2026

  • Compatibilité avec WordPress 7.1
  • Replaced deprecated jQuery calls, ready for jQuery 4

1.1.1 – 14 Aug 2026

  • Color overrides written as a list, such as “.site-header, #footer”, now apply only in dark mode. Everything after the first comma was being applied in light mode too
  • Custom CSS no longer drops backslashes, so icon font rules like content: “\f101” survive a save
  • Button shadow color is now validated as a color, in line with every other color setting
  • An unrecognised color value is discarded cleanly instead of writing broken CSS or raising notices on PHP 8.1 and above

Journal des modifications complet sur WordPress.org →

Captures d'écran

Settings tab - enable dark mode, OS aware mode, scheduled hours, keyboard shortcut and content exclusions
Settings tab - enable dark mode, OS aware mode, scheduled hours, keyboard shortcut and…
Switch tab - icon, shape, position, size, colors, shadow and tooltip for the toggle button
Switch tab - icon, shape, position, size, colors, shadow and tooltip for the toggle button
Switch tab - adding the switch to a navigation menu, and using your own element as the switch
Switch tab - adding the switch to a navigation menu, and using your own element as the…
Image/Video tab - image and video grayscale, background darkening, image replacement and SVG inversion
Image/Video tab - image and video grayscale, background darkening, image replacement and…
Colors tab - 13 presets, the custom palette and the live preview
Colors tab - 13 presets, the custom palette and the live preview
Colors tab - per selector color overrides
Colors tab - per selector color overrides
Custom Code tab - custom CSS and before/after toggle JavaScript
Custom Code tab - custom CSS and before/after toggle JavaScript
Tools tab - export, import and reset
Tools tab - export, import and reset
Disabling dark mode on a single page from the editor sidebar
Disabling dark mode on a single page from the editor sidebar

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Onyx Dark Mode Switcher alternatives

Tous les plugins en mode sombre →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 ECS – Skin personnalisé ELE pour Elementor ECS – Skin personnalisé ELE pour Elementor Sept modules gratuits pour Elementor : mode sombre, mises en page de conteneurs, menu mobile, éditorial… par Dudaster 100K+ ★★★★★★★★★★ 4.6 (117) Il ya 3 jours 94
2 Mode sombre – Améliorez l'accessibilité avec le thème sombre alimenté par l'IA Mode sombre – Améliorez l'accessibilité avec le thème sombre alimenté par l'IA Activez le mode sombre sur WordPress sans aucun codage. Améliorez l'accessibilité du site avec un… par wppool 20K+ ★★★★★★★★★★ 4.5 (392) il y a 1 mois 88
3 Adminify – étiquette blanche, éditeur de menus d'administration, personnalisation de connexion Adminify – étiquette blanche, éditeur de menus d'administration, personnalisation de connexion Marque blanche WordPress Admin, éditeur de menus d'administration, personnalisation de la page de connexion, mode sombre administrateur… par Pixar Labs 6K+ ★★★★★★★★★★ 4.3 (109) 3 semaines plus tôt 90
4 Favicon personnalisé – Ajoutez facilement un favicon dans WordPress Favicon personnalisé – Ajoutez facilement un favicon dans WordPress Ajoutez facilement un FAVICON personnalisé et une icône Apple Touch à votre site WordPress, y compris le support… de Harish Chouhan 5K+ ★★★★★★★★★★ 5 (17) il y a 1 heure 88
5 Mode sombre pour le tableau de bord WP Mode sombre pour le tableau de bord WP Un mode sombre propre et léger pour le tableau de bord d'administration WordPress. par Naiche 3K+ ★★★★★★★★★★ 4.8 (35) il y a 1 semaine 91
6 Couleur du thème du navigateur - Couleur de la barre d'adresse et mode sombre Couleur du thème du navigateur - Couleur de la barre d'adresse et mode sombre Colorez la barre d'adresse du navigateur mobile avec la couleur de votre marque, avec une couleur séparée pour le foncé… Par Marco Milesi 2K+ ★★★★★★★★★★ 5 (1) Il y a 2 mois 74
7 Bascule du mode sombre Bascule du mode sombre Apportez le basculement en mode sombre vers votre site Web WordPress. Un simple interrupteur pour allumer et éteindre… par Scriptstown 2K+ ★★★★★★★★★★ 4.6 (19) il y a 4 semaines 81
8 Darklup - Amélioré WordPress Mode sombre, thème sombre, mode nuit et plugin d'accessibilité Darklup Découvrez Darklup — votre allié WordPress pour le mode sombre, les thèmes sombres, le mode nuit et… par Darklup 1K+ ★★★★★★★★★★ 4.5 (44) Il y a 2 jours 89
9 Darkify – Mode sombre et mode nuit pour site Web et administrateur (thème sombre inclus) Obscurcir Le mode sombre Darkify ajoute le mode sombre et le mode nuit aux sites Web et aux tableaux de bord d'administration WordPress. par themeathelier 1K+ ★★★★★★★★★★ 4.7 (29) il y a 13 heures 90
10 Markdown Editor (anciennement en mode sombre) Markdown Editor (anciennement en mode sombre) Modifiez rapidement le contenu de votre site WordPress en obtenant un immersif, paisible et naturel… par azizultex 1K+ ★★★★★★★★★★ 3.3 (86) il y a 12 mois 51

FAQ

Onyx Dark Mode Switcher: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Onyx Dark Mode Switcher free?

Yes. Onyx Dark Mode Switcher is free to download and use from the official WordPress.org plugin directory.

Is Onyx Dark Mode Switcher safe to use in 2026?

Onyx Dark Mode Switcher is a solid plugin choice in 2026, with a few things worth checking first. It runs on 400+ sites and was last updated 2 days ago, and scores 70/100 on our health check.

How many websites use Onyx Dark Mode Switcher?

Onyx Dark Mode Switcher is active on 400+ WordPress websites and has been downloaded 4,501 times since it launched in January 2026. It was downloaded 1,315 times in the last 30 days.

Does Onyx Dark Mode Switcher work with WordPress 7.1?

Yes. The developer has tested Onyx Dark Mode Switcher up to WordPress 7.1.5, the latest release. It requires WordPress 6.3 or newer.

What PHP version does Onyx Dark Mode Switcher need?

Onyx Dark Mode Switcher requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Onyx Dark Mode Switcher last updated?

The latest version, 1.2.1, was released on December 1, 2026 (2 days ago).

Who makes Onyx Dark Mode Switcher?

Onyx Dark Mode Switcher is developed and maintained by hashthemes.

What are the best alternatives to Onyx Dark Mode Switcher?

The most popular alternatives to Onyx Dark Mode Switcher are ECS (100K+ installs), Dark Mode (20K+ installs) and Adminify (6K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir