ダークモード

説明

プラグインについて

This is a beta plugin that might one day be part of the WordPress core. Please don’t use this on production websites unless you’re happy with the stability as some things may still be experimental.

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.

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

プラグイン開発者

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 own plugin interfaces when it’s enabled. Alternatively you can use the dark_mode_css filter hook to change the Dark Mode stylesheet for your own version if you’d prefer.

Translators

Whilst Dark Mode has been translated into a few different languages already, we need your help! If you have just five minutes to spare, please consider translating Dark Mode into your language today.

スクリーンショット

  • The dashboard with Dark Mode turned off.
  • The dashboard with Dark Mode turned on.
  • Dark Mode with an admin colour scheme in use.
  • The Dark Mode settings on a user's profile page.

インストール

  1. Upload the plugin package to the plugins directory.
  2. 管理画面にログインし、プラグインを有効化します。
  3. Go to your profile and enable Dark Mode.

FAQ

インストール手順
  1. Upload the plugin package to the plugins directory.
  2. 管理画面にログインし、プラグインを有効化します。
  3. Go to your profile and enable Dark Mode.
何のためにこのプラグインはあるのですか ?

WordPress by default has a very bright colour scheme and this can hurt your eyes if you’re working on a website late at night. Dark Mode provides a nice, darker alternative dashboard style.

プラグインに貢献できますか ?

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

How can I remove the feedback link?

The Feedback link will take a user to the GitHub repository and will only be shown when Dark Mode is currently on for that user. To remove it for every user, put define( 'DARK_MODE_FEEDBACK', false ); in your website wp-config.php file.

評価

Not Bad

Experience with this plugin is quite handy. Having tad issues which can be modified. Thanks

Hope to see it on core soon!

Amazing! I am a lover of dark themes and eye savers

As suggestion for default theme I recommend to change color of admin bar and menu to WordPress primary color (#0073aa)

Just test it:

#adminmenu, #wpadminbar {
    background-color: #0073aa;
}
13件のレビューをすべて表示

貢献者と開発者

ダークモード はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“ダークモード” は8ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“ダークモード” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.7

  • Fixed a XSS vulnerability with the automatic start & end times. Credit
  • Fixed a bug with the start and end inputs sharing a label element.

1.6

  • Fixed a problem with automatic Dark Mode not activating correctly.
  • Fixed issue with PHP 5.4 installs not supporting empty if statements.
  • Added the requires PHP header and set it to 5.4 for compatibility.
  • Improved the CSS for many widget related styling bugs.
  • Fixed issue with UI notices having an incorrect background colour.
  • Added styling to the media attachment modal popup.
  • Fixed CSS conflicts causing the customiser to not be styled.
  • Fixed a variety of smaller UI elements that had incorrect styles.

1.5

  • Added support for Code Mirror editor styles.
  • Fixed a bug where automatic Dark Mode was set incorrectly.
  • Improvements to how some core functions worked.
  • Improvements to translation strings.

1.4

  • Updated the stylesheet to now include new Customiser styles.
  • Further updates to the readme.txt file to address typos and updates.
  • Moved the toolbar links to the right and added feedback to a drop down.
  • Fixed an issue with Dark Mode being automatically turned on or off.

1.3

  • Added link to GitHub repository for people to provide feedback.
  • Added the ability to schedule Dark Mode to come on between certain times.
  • Improved the implementation of certain core functions for better control.
  • Updated the styles to include more areas that were previously unstyled.

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!
  • ファイルサイズを減らすため、スタイルシートを最適化。

1.1.2

  • 新しいデザイン内で利用されているカラーパレットのためのアップデート。
  • 管理画面の要素におけるスタイルの追加

1.1.1

  • readme.txt への情報の更新。
  • コードドキュメントのブロックにおける細かな修正
  • ダッシュボードに表示される「新しいグーテンベルグを試してみましょう」バナーのスタイルを変更。
  • カラーパレットのアップデート。紫と青色の交換を実施。

1.1

  • (ほとんどの) 管理画面をより暗めに再度デザイン。
  • ダークモードの際に利用するスタイルシートの参照 URL を変更できるフィルターフックの追加。
  • コードのマイナーな改善の実施。

1.0

  • 最初のバージョン