Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Conversation

@pbking
Copy link
Contributor

@pbking pbking commented Jan 14, 2021

Changes proposed in this Pull Request:

When initializing the editor determine the background color and
optionally enabled "dark editor support" based on a luminocity
calculation of that background color

This is a Work in Progress

Related issue(s):

This is related to #2905 which should be retested with this fix.

When initializing the editor determine the background color and
optionally enabled "dark editor support" based on a luminocity
calculation of that background color

This is a Work in Progress
@pbking pbking marked this pull request as draft January 14, 2021 21:00
@pbking pbking changed the title Add dynamic Dark Mode support for Editor Spearhead: Add dynamic Dark Mode support for Editor Jan 14, 2021
*/

// domReady( function() {
setTimeout(()=>{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there something we could listen to/wait for rather than just waiting 3 seconds?

@scruffian
Copy link
Member

I tried a different approach here: WordPress/gutenberg#28233

@pbking
Copy link
Contributor Author

pbking commented Jan 18, 2021

Closing in deference of Gutenberg change.

@pbking pbking closed this Jan 18, 2021
@scruffian scruffian deleted the fix/seedlet-dark-editor-support branch January 18, 2021 22:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants