[wp-trac] [WordPress Trac] #26350: !important audit
WordPress Trac
noreply at wordpress.org
Wed Feb 3 14:20:23 UTC 2021
#26350: !important audit
----------------------------+-----------------------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: 5.7
Component: Administration | Version: 3.8
Severity: major | Resolution:
Keywords: needs-patch | Focuses: ui, css, performance
----------------------------+-----------------------------------
Comment (by dingo_d):
In the `wp-includes/css/dist/block-editor-style.min.css` there is a
{{{
.components-button.block-editor-block-switcher__no-switcher-icon:disabled
.block-editor-block-icon.has-colors{color:#1e1e1e!important}
}}}
Which turns all the icons in the editor for blocks black (dark gray). Not
sure why, as I don't see this in the GB on github 🤷🏼♂️
This is grating because when you are building your own blocks and icons,
they are turned into black, even though you set the color to be white for
instance.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26350#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list