Linux 软件免费装
Banner图

Adminight – Dark Mode for the Dashboard

开发者 jbosnakis
更新时间 2026年10月23日 22:28
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

dashboard admin accessibility dark mode night mode

下载

1.0.0 1.1.0 1.1.1

详情介绍:

Adminight gives the WordPress dashboard a dark theme that is easy on the eyes late at night. It changes only the admin screens: your site's front end stays exactly as it is. Safe with other plugins Why another dark mode plugin? Because a dark dashboard should not need an account, a trial, or a paid tier. In the block editor The editor's panels, toolbars, sidebars and dialogs are dark. The writing area itself keeps your theme's own editor styles, so you still see your content in the colours it will have on the site. Accessibility The colours were chosen for WCAG AA: text, links and placeholders keep a contrast ratio of at least 4.5:1 against their background. Focus outlines remain visible, and the toolbar switch has a text label for screen readers.

安装:

  1. Install the plugin from Plugins → Add Plugin, or upload the folder to /wp-content/plugins/.
  2. Activate it. The dashboard follows your device's setting straight away.
  3. To choose a mode, click the icon next to "Howdy" in the toolbar, or open Users → Profile.
  4. To choose where dark mode applies, open Settings → Adminight.

屏幕截图:

  • The posts list, with the toolbar switch open.
  • The block editor: dark panels and toolbars, and the writing area in the theme's colours.
  • A WooCommerce product in the classic editor, with its writing area dark too.
  • Settings → Adminight: the default mode, the parts of WordPress, and other plugins one by one.
  • The login screen follows the site default.
  • The media library.
  • Each user can turn off places for themselves in their profile.

升级注意事项:

1.1.0 Choose where dark mode applies, including other plugins one by one. Other plugins' screens are no longer darkened until you turn them on in Settings → Adminight.

常见问题:

Does it change my website for visitors?

No. Only the admin screens and the login screen change.

How does Auto work?

Your browser tells the page whether the device is in dark mode (the prefers-color-scheme setting of Windows, macOS, iOS, Android and Linux desktops). In Auto, the dashboard follows it, and changes with it while the page is open.

Can I set it for every user at once?

Yes. Settings → Adminight → Admin dark mode sets the mode for everyone who has not picked one. Each user can still change their own. Developers can also use the adminight_default_mode filter.

Can I use dark mode only in some places?

Yes. In Settings → Adminight, turn each part of WordPress on or off, and choose for each plugin. Each user can also turn off places for themselves in Users → Profile.

A plugin's screens are not dark. What can I do?

Open Settings → Adminight and choose "Dark" or "Inverted colours" for that plugin. Plugins built from WordPress's own parts look best with "Dark"; plugins with a design of their own usually look better with "Inverted colours". If neither looks right, tell us in the support forum which plugin and screen, ideally with a screenshot.

Why is the writing area of the block editor not dark?

It shows your post with your theme's editor styles, so what you see matches the published page. If your theme has a dark style, the writing area follows it.

What happens when I delete the plugin?

Everything it stored is removed: the site's choices and each user's choices.

Does it work on multisite?

Yes. Each user's mode applies on every site of the network, and each site has its own settings.

更新日志:

1.1.1 1.1.0 1.0.0