[wp-trac] [WordPress Trac] #50051: Native support for dark mode
WordPress Trac
noreply at wordpress.org
Fri May 1 19:39:37 UTC 2020
#50051: Native support for dark mode
-----------------------------+-----------------------------
Reporter: mpwrdesign | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: ui |
-----------------------------+-----------------------------
With most mobile devices and many computers supporting a native dark mode,
it is important for WordPress to consider adopting the feature. At WWDC
2019, Apple outlined a
[https://developer.apple.com/videos/play/wwdc2019/511/ method for
implementing dark mode into web content]. In order for WordPress to
properly and completely support dark mode, the following would need to
occur:
* Code should be included in WordPress core to detect whether a device is
using light mode or dark mode (as outlined in the link above)
* The Customizer would need to include color pickers for light and dark
colors for every element
* The Media Gallery would need to support light and dark images, with the
proper one loaded depending on the device state
* New functions would need to be created to allow plugin and theme
developers to specify light and dark colors and images on themes and
plugins
Supporting dark mode properly will be a major undertaking, but due to the
rapid rate at which devices and apps are supporting it, I believe this
should be a priority for WordPress later this year, perhaps as soon as
5.6.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50051>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list