[wp-trac] [WordPress Trac] #28504: Icons for Customizer Sections

WordPress Trac noreply at wordpress.org
Tue Oct 14 14:48:37 UTC 2014


#28504: Icons for Customizer Sections
------------------------------+------------------
 Reporter:  celloexpressions  |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.1
Component:  Customize         |     Version:  3.4
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  ui
------------------------------+------------------

Comment (by celloexpressions):

 Replying to [comment:15 ocean90]:
 > Is it okay to only support Dashicons? Can we do something like we do for
 the admin menu? See [source:/trunk/src/wp-admin/menu.php#L111].
 We could support other icons directly, although I'd definitely rather not
 since we don't need to for back-compat (unlike the admin menu) and because
 pngs can't be recolored/resized if we ever want to do that, and doing that
 with SVGs can be tricky.

 It would be pretty easy to specify a custom icon with CSS (either from
 another icon font or using a background image), especially since they can
 use any class. I'd rather keep it simple and start with more limited
 support, then add additional options later if there's a lot of demand for
 them, but I really don't think we should directly support custom icons
 here, at least for now. We should also add a few dashicons for common
 sections, per #29855, and could consider doing some things like widget
 icons do, making smarter decisions for fallback icons. But I don't think
 that's needed for the first pass.

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


More information about the wp-trac mailing list