[wp-trac] [WordPress Trac] #49999: Iterating on Admin Color Schemes

WordPress Trac noreply at wordpress.org
Fri Jul 3 18:44:40 UTC 2020


#49999: Iterating on Admin Color Schemes
----------------------------+-------------------------------------
 Reporter:  ryelle          |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  5.6
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  ui, accessibility, css
----------------------------+-------------------------------------
Changes (by youknowriad):

 * milestone:  Awaiting Review => 5.6


Comment:

 Hey folks, I wanted to help a bit this with these efforts. I started the
 PR above. It's working surprisingly well for a quick PR.

 Here's some of the important notes from that PR:

  - I only added a variable for $highlight-color (and few variations for
 it).
  - I merged several similar colors that are close together. (I think we
 can probably remove/merge more by tweaking styles but this should be a
 separate effort).
  - I didn’t add support for CSS variables for the menu colors, I think
 it's better to get the system in place with a single color and decide
 separately to potentially add new CSS variables. The one we're certain
 about is the highlight color.
  - This PR requires compilation already to get the “default colors” but
 I'm hopeful we can remove that by just embedding the `:root` default
 colors into a CSS file that is always loaded in the admin.
  - I mirrored the naming of the Gutenberg variables like discussed in
 yesterday's meeting.

 Also, let's consider this ticket for 5.6

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


More information about the wp-trac mailing list