WordPress.org

Make WordPress Core

Opened 4 weeks ago

#44209 new defect (bug)

Admin Menu SVG Icon colour wrong in Default colour scheme

Reported by: swift Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: ui, administration Cc:

Description

When using a SVG as an icon for an admin menu, the default color scheme shows the svg icons as a different colour (#82878c) than font icons (#a0a5aa). Other colour schemes seem to render svg icons correctly. Seems like it's related to /wp-includes/general-template.php line 3886 (WP 4.9.5), and possibly /wp-admin/includes/misc.php line 713. Changing 'base' => '#82878c' to 'base' => '#a0a5aa' fixes the issue for me.

Attachments (1)

Screen Shot 2018-05-23 at 8.00.32 PM.JPG (14.7 KB) - added by swift 4 weeks ago.
SVG Admin Icon colour wrong in default colour scheme (eg. Conference vs. Comments)

Download all attachments as: .zip

Change History (1)

@swift
4 weeks ago

SVG Admin Icon colour wrong in default colour scheme (eg. Conference vs. Comments)

Note: See TracTickets for help on using tickets.