[wp-trac] [WordPress Trac] #26922: WP-Admin - Allow for Additional Icon Fonts
WordPress Trac
noreply at wordpress.org
Fri Jan 24 05:43:01 UTC 2014
#26922: WP-Admin - Allow for Additional Icon Fonts
----------------------------+------------------------------
Reporter: styledev | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.8
Severity: normal | Resolution:
Keywords: | Focuses: ui
----------------------------+------------------------------
Comment (by styledev):
Hey nacin,
Replying to [comment:1 nacin]:
> Hi styledev. I think the best step here would be to pass 'none' and then
use CSS to add the icon yourself, versus adding more PHP into the mix. SVG
benefits from HTML changes, and Dashicons is part of WordPress so it made
sense for a special exemption/feature there, but I don't think leaving
this to CSS for non-SVG non-Dashicons is much of an issue.
I see what you mean but by passing 'none' you then have to painstakingly
add in additional css. This method allows you to just state for instance
'ss-user' and as long the icon set is enqueued properly works very easily.
> As an aside, I'm not sure we'd want to encourage alternative iconsets,
as it would be tough to maintain a consistent design that way. Ideally,
icons are either a Dashicon or a custom SVG designed with the same
aesthetic. This has the added benefit of being "painted" the right color
depending on the color scheme in use.
As it stands, we (developers) are already adding in different icons into
wp-admin and have been doing so for a long time. So I argue that It is up
to the developer to maintain the consistent design for their end-user and
in some cases maybe their end-user doesn't care if it is not consistent.
It was already a challenge to find enough icons that fit the old look and
feel. Now with the "flat-design" and the growing number of icon fonts out
there it is much easier to match the icons than before. As you can see
below, symbolset fits nicely into wp-admin and works with the variety of
color palette choices.
[[Image(http://parapxl.com/wp/wp-admin-symbolset-icon-font.jpg)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26922#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list