Icon font in default admin theme
Posted: Wed May 17, 2017 11:08 am
One of the first things I nearly always do when building a module is to include an icon font or svgs so I can use better looking scalable icons in the admin interface. Frankly the current gif icons in OneEleven are looking a bit tired imo.
I assume it would be fairly straightforward to include a icon font such as font-awesome or material icons into the admin template and update the {admin_icon} tag to generate the correct markup (with a fallback to the image if you pass an image param).
Maybe the html markup that's in the admin_icon plugin be moved to a template so that that the choice of icon-font could be theme dependant (although I'm all for not giving users too much choice).
I assume it would be fairly straightforward to include a icon font such as font-awesome or material icons into the admin template and update the {admin_icon} tag to generate the correct markup (with a fallback to the image if you pass an image param).
Maybe the html markup that's in the admin_icon plugin be moved to a template so that that the choice of icon-font could be theme dependant (although I'm all for not giving users too much choice).