[wp-trac] [WordPress Trac] #31459: Update WP-admin Buttons

WordPress Trac noreply at wordpress.org
Tue Oct 13 20:04:59 UTC 2015


#31459: Update WP-admin Buttons
-------------------------------------+-------------------------------------
 Reporter:  hugobaeta                |       Owner:  hugobaeta
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  4.4
Component:  Administration           |     Version:  4.2
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-         |     Focuses:  ui, accessibility,
  screenshots                        |  administration
-------------------------------------+-------------------------------------

Comment (by hugobaeta):

 Hey @johnjamesjacoby - The text-shadow color is relative to the button
 color. If you check out the mixin in the color schemes Sass folder you can
 see how I did it. The color formula for the text shadow is basically
 darkening the button color by 15%, like so:

 {{{
 darken( $button-color, 15% )
 }}}

 This text shadow is a new thing, and is there to help with color contrast
 for accessibility. The plugins that customize the admin can use the
 formula in the mixin to generate updated color schemes.

 Hope this helps!

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


More information about the wp-trac mailing list