I played around a bit with how to add fontawesome support for plugins, and it's not that easy. 

I managed, but without rewriting large parts of the code, it's a bit of a (albeit small) hack. I do hope that even as a hack, we can find a way to do this as it would bring plugin developers much more choice.

I dont mind trying my hand at replacing all icons with fontawesome, and i already did part of it (tabs), but i ran into a problem immediately of not having matching icons for some tasks. Things like "Mailbox View" and "Display Messages" dont really have a matching fontawesome icon. Is RC open to replacing the current icons with some fontawesome alternative?

As an example of the quality difference, here's a zoomed in screenshot of a plugin i have using the plugin api to add a fontawesome icon. And you can also see I added a Spam/Virus icon to the tabs.

http://shot.ter.net/img/20150407-085423.png

Cor




On 03 Apr 2015, at 19:01, Thomas Bruederli <thomas@roundcube.net> wrote:

Hello Cor

Thanks for the input, I can definitely agree that having a wider icon
set available in the default skin would make things easier and also
contribute to a more consistent look and feel for the users.

While replacing the current icons in Larry with font icons is probably
out of scope, we could indeed just add the fontawesome set to the skin
as a start.

Font-based icons will definitely be used in the new responsive skin
which I now started to work on in my spare time. That shall become the
successor for Larry and the new default skin. Therefore I'm looking
forward to make things right there but keep the efforts on Larry to a
minimum. Of course, we're open to volunteers who want to give Larry a
fresh paint with font icons.

~Thomas


On Fri, Apr 3, 2015 at 11:08 AM, Cor Bosman <cor@xs4all.nl> wrote:
Absolutely. It will definitely improve the overall look of roundcube, and will give plugin developers a wide range of icons to choose from.

In larry the use of icons for tabs/sections is pretty much a must, and it is really a pain that developers need to create their own icons in roundcube's style. With fontawesome they'd have a huge set of icons to choose from. And if we support the configuration of icons through classnames in the plugin api, that would simplify the icon process immensely.

Right now, plugin developers would need to either create their own icon and add it through css, or use an existing icon and add it through css. Either way, you'd have to load in your own css file for each plugin.

Would roundcube be open to switch to fontawesome?

Cor


On 02 Apr 2015, at 14:45, martijn.thie@kpn.com wrote:

Such a font will definitely also better suit retina-screens and other high-density screens.

Martijn

_______________________________________________
Roundcube Development discussion mailing list
dev@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev
_______________________________________________
Roundcube Development discussion mailing list
dev@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev