Onyx Dark Mode Switcher

توضیحات

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

No setup pages. No confusing options. No performance overhead.

Just install, activate, and your visitors can switch between light and dark mode instantly with one click.

The plugin automatically handles your site’s colors and works out of the box with any WordPress theme. It’s built for site owners who want a modern feature without complexity.

If you believe features should be simple, fast, and invisible — this plugin is for you.

OS Aware Dark Mode

Automatically detects the user’s system preference and applies dark mode when enabled.

Keyboard Shortcut Support

Allow users to toggle between light and dark mode using a keyboard shortcut.

Enable Dark Mode on Page Load

Start your website in dark mode by default for a comfortable browsing experience.

Skip Dark Mode on Selected Elements

Exclude specific CSS selectors from dark mode styling for full control.

Display Switch Button in Menu

Easily add the light/dark mode switch button to your WordPress navigation menu.

Switch Button Customization

Customize the switch icon, shape, position, size, and color to match your website design.

Use Custom Switch Button

Replace the default toggle with your own custom switch button.

Replace Images in Dark Mode

Show alternative images when dark mode is enabled for better visibility.

Invert Images in Dark Mode

Automatically invert images to maintain contrast in dark mode.

Invert SVG Graphics

Apply smart inversion to SVG icons and graphics in dark mode.

Enable Image Grayscale Mode

Convert images to grayscale for a cleaner dark mode appearance.

Darken Background Images

Reduce brightness of background images for improved readability.

Multiple Preset Dark Mode Color Schemes

Choose from multiple ready-made dark mode color presets.ependencies, no bloat

نصب

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.

نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“Onyx Dark Mode Switcher” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Onyx Dark Mode Switcher” به زبان شما.

علاقه‌ مند به توسعه هستید؟

کد را مرور کنید، مخزن SVN را بررسی کنید، یا از طریق RSS در گزارش توسعه مشترک شوید.

گزارش تغییرات

1.1.0 – 4 Aug 2026

  • Live color preview on the Colors tab – see a preset before you save it
  • Override colors for specific CSS selectors, for the elements the automatic pass gets wrong
  • New Tools tab – export settings to a file, import them on another site, or reset everything to defaults
  • Button hover colors now actually apply. They were collected in the settings but never output
  • Custom palettes with blank fields no longer emit broken CSS
  • Fixed unclosed markup in the Colors tab
  • Scheduled Dark Mode – turn dark mode on automatically between two times
  • Disable dark mode per post type from the settings
  • Disable dark mode on an individual post or page from the editor sidebar
  • Dark mode is now applied before the page paints, removing the flash of light content on load
  • OS Aware Dark Mode now applies on a visitor’s first visit, not only when the system setting changes
  • Custom CSS and Custom JavaScript are no longer corrupted on save
  • Toggle events now fire on every switch instead of only the first
  • Fixes for the custom switch selector, button class list and settings sanitization

1.0.3 – 30 Jul 2026

  • CSS fixes
  • Compatibility fixes with WordPress v 7.0

1.0.2 – 13 Feb 2026

  • Media upload button not working – Fixed
  • Added more color Schemes
  • Code refinements

1.0.1 – 17 Jan 2026

  • Option for custom code added

1.0.0

  • Release