[wp-trac] [WordPress Trac] #26922: WP-Admin - Allow for Additional Icon Fonts

WordPress Trac noreply at wordpress.org
Fri Jan 24 05:18:07 UTC 2014


#26922: WP-Admin - Allow for Additional Icon Fonts
----------------------------+------------------------------
 Reporter:  styledev        |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Graphic Design  |     Version:  3.8
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  ui
----------------------------+------------------------------

Comment (by 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.

 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.

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


More information about the wp-trac mailing list