[wp-trac] [WordPress Trac] #39261: Possible wrong base color for admin SVG-icons

WordPress Trac noreply at wordpress.org
Tue Dec 13 09:41:36 UTC 2016


#39261: Possible wrong base color for admin SVG-icons
-------------------------+-------------------------------------------------
 Reporter:  robsat91     |       Owner:
     Type:  defect       |      Status:  new
  (bug)                  |   Milestone:  Awaiting Review
 Priority:  normal       |     Version:  4.7
Component:  General      |  Resolution:
 Severity:  normal       |     Focuses:  ui, javascript, administration,
 Keywords:               |  template
-------------------------+-------------------------------------------------

Comment (by robsat91):

 Temporary fix:

 {{{#!php
 <?php
 // Fix icon-color "base" for SVG-icons
 add_action('admin_init', function(){
         global $_wp_admin_css_colors;
         if( isset($_wp_admin_css_colors['fresh']->icon_colors['base']) ) {
                 $_wp_admin_css_colors['fresh']->icon_colors['base'] =
 '#9ea3a8';
         }
 });
 }}}

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


More information about the wp-trac mailing list