[wp-trac] [WordPress Trac] #53533: Dark mode creating conflict with custom colour inside editor
WordPress Trac
noreply at wordpress.org
Sun Jun 27 20:07:47 UTC 2021
#53533: Dark mode creating conflict with custom colour inside editor
-----------------------------+-----------------------------
Reporter: alanjacobmathew | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
v: 5.8-beta4-51244. Theme: Twenty Twenty-One No plugins Installed.
Make sure the dark mode setting is switched ON is 'Customize page'.
The current Dark Mode settings inside the Twenty Twenty-One theme only
works with the default colours inside the editor. Currently I believe dark
mode functions by inverting the colours, but if that is the case it only
inverts the default colours inside editor.
\\
Below are the test cases, when the colour in text editor is not changed.
----
When Dark Mode is OFF
background colour is light and content colour is black
When Dark mode is ON
background colour is dark and content colour becomes white/light
\\
Case when the user changes the colour of the text
----
Dark Mode is OFF
background colour is light. User changes the text colour to something dark
other than the default black(say dark blue)
Dark Mode is ON
background colour is dark and the content colour remains same as the above
case(here dark blue).
Here the issue is, depending on the visitors browser settings for dark
mode, the website automatically switches to dark mode on the front end.
And in-case the website owner has enabled dark mode settings in the
'Appearance section' and has posts or pages or even links written in
custom colour, it may remain invisible to the visitors.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53533>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list