[wp-trac] [WordPress Trac] #50555: Modern Color Scheme: Custom SVG icons in menu are invisible
WordPress Trac
noreply at wordpress.org
Fri Jul 3 23:23:04 UTC 2020
#50555: Modern Color Scheme: Custom SVG icons in menu are invisible
---------------------------------+-----------------------------
Reporter: ryelle | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: css, administration |
---------------------------------+-----------------------------
Top-level admin menu pages can be registered with a custom SVG icon,
base64-encoded. To work with the color schemes, this is automatically
colored by svg-painter.js, using the colors passed as the last argument to
`wp_admin_css_color`.
The new Modern scheme isn't setting these correctly, so the icons appear
to be invisible. You can test this out with
[https://gist.github.com/ryelle/9b7e8eb1473878605aa31b5d5551f10b the demo
plugin here.] It registers an empty page that uses a custom SVG icon.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50555>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list