[wp-trac] [WordPress Trac] #65382: Admin color schemes: improve contrast to make sidebar compatible with Gutenberg editor chrome

WordPress Trac noreply at wordpress.org
Wed Jun 3 09:40:53 UTC 2026


#65382: Admin color schemes: improve contrast to make sidebar compatible with
Gutenberg editor chrome
----------------------------+-------------------------------------
 Reporter:  fushar          |       Owner:  youknowriad
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  7.1
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  ui, accessibility, css
----------------------------+-------------------------------------
Changes (by youknowriad):

 * owner:  (none) => youknowriad
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"62454" 62454]:
 {{{
 #!CommitTicketReference repository="" revision="62454"
 Administration: Improve admin color scheme contrast for the editor chrome.

 Update the core admin color schemes so their sidebar and primary button
 colors
 work well when the block editor and Site Editor apply the user's admin
 color
 scheme to the editor chrome. The chrome background is generated from a
 seed
 through the WPDS ramp algorithm, which only emits surface colors within
 specific luminance bands and cannot reproduce arbitrary colors, so several
 schemes could never match.

 Adjust the Blue, Coffee, Ectoplasm, Light, Midnight, Ocean, and Sunrise
 schemes
 to bring sidebar and primary button text contrast to WCAG 2.x AA (4.5:1),
 keep
 each scheme's character, and reduce the number of distinct colors per
 scheme by
 reusing the selected menu item's background for the primary button (except
 for
 Light).

 Props fushar, simison, youknowriad, joen.
 Fixes #65382.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65382#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list