Dark Mode

Mô tả

About the Plugin

Feature plugin with the hopes that it’ll make it’s way into Core one day! We highly recommend you don’t use this on production websites.

Using technology at night time can have a negative effect on your eyesight. Dark Mode will darken the colours of your admin dashboard making it easier for you to work at night time.

For information on the progress of this plugin, please refer to the Trac ticket or you can get involved on the GitHub repository.

Plugin Developers

As some plugins make use of custom stylesheets, you can use the doing_dark_mode action hook to include a custom stylesheet that supports Dark Mode for your plugins interface. Alternatively you can use the dark_mode_css filter hook to change the Dark Mode stylesheet for your own.

Screenshots

  • The dashboard without Dark Mode turned off.
  • The dashboard with Dark Mode turned on.
  • Dark Mode with an admin colour scheme.
  • The setting in a user's profile to turn Dark Mode on.

Cài đặt

  1. Unzip and upload the plugin package into the plugins directory.
  2. Login to the dashboard and activate the plugin.
  3. Go to your profile and enable the Dark Mode setting.

Câu hỏi thường gặp

Installation Instructions
  1. Unzip and upload the plugin package into the plugins directory.
  2. Login to the dashboard and activate the plugin.
  3. Go to your profile and enable the Dark Mode setting.
Why is there a plugin for this?

The goal is to have this plugin merged into the WordPress Core. For more information, please see the GitHub repository or Trac ticket.

What does this plugin do?

It adds an option for users to enable a ‘dark mode’ which will turn the admin dashboard darker so it’s nicer to use at night time.

Can I contribute to this plugin?

Yes! You can follow the Trac ticket for updates and get involved on GitHub with suggestions, feedback and code contributions!

Đánh giá

Nice, but…

Nice,

but… Why put this setting on the user profile page and not an on/off switch in the admin menu or toolbar? Also, it would be nice if the user could decide what exactly is dark. For me, the current setting is simply too dark to be able to work.

Đọc tất cả 4 đánh giá

Người đóng góp & Lập trình viên

“Dark Mode” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Dark Mode” đã được dịch qua 6 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Dark Mode” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.2

  • Added CSS source maps to files making it easier to develop the stylesheet further.
  • Updated a translation string for better clarity.
  • Updated the documentation comments for a few functions.
  • Fixed more issues with elements that are not styled. Thanks to all those who spotted them!
  • Minor optimisations made to the stylesheet to help reduce the file size.

1.1.2

  • Further updates to the colour palette used in the new design.
  • More elements within the dashboard have been styled.

1.1.1

  • Updated the readme.txt file information.
  • Minor improvements to code documentation blocks.
  • Restyled the new Try Gutenberg banner on the dashboard index.
  • Updated the colour palette and swapped blue for purple!

1.1

  • Redesigned (most of) the admin dashboard into a darker design.
  • Added a filter hook to change the URL of the Dark Mode stylesheet.
  • Minor improvements to the code.

1.0

  • Initial version.