Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes #6451. This PR enables a new command to themers. They can now add `add_theme_support( 'dark-theme' );` in order to ask the editing canvas to be friendly to dark themes. What this does is add a body class to the editor, `is-dark-theme`, which enables already present color changes to the side UI and borders, that are friendly to dark themes.
- Loading branch information