WordPress / gutenberg-starter-theme

A simple theme for testing Gutenberg.
GNU General Public License v2.0
683 stars 163 forks source link

Clean up and evolve the included dark mode. #87

Closed kjellr closed 5 years ago

kjellr commented 5 years ago

85 added a new "Dark mode" option to the theme. When activated, this would add theme support for dark-editor-style, and enqueue a simple editor stylesheet that swapped the background to black, and the text to white.

This was a good, simple approach, but it was relatively basic. This PR expands on the previous one to include a more accurate and complete dark mode:

Screenshots:

gutenberg test_2019_07_03_welcome-to-the-gutenberg-editor_(iPad) gutenberg test_wp-admin_post php_post=1215 action=edit(iPad) (3)