2.4.1: Awesome font version 4.7 available

Update it in the panel.

It has 41 new Icons: What’s New?

When developing plugins it’s really nice to have instant access to all the fontawesome icons and as long as it’s used I think it should be updated.

But I still fear that this icon library just keep growing into a big monster. That it at some future point it may slow the panel down notably. Most of the icons no one will probably never use in a plugin, for example this ones:

http://fontawesome.io/icon/superpowers/
http://fontawesome.io/icon/grav/

But it can be hard in some cases to know if someone at some point of time want to use a special icon or not.

Solution?

Maybe it’s not even a problem yet but a possible solution for it would be that the plugin register the icons needed and only these icons are loaded by the panel. If multiple plugins register the same icon it will still only be loaded ones. The icons already used by the panel should in this idea not need to be registered as they are loaded anyway.

$kirby->set('icon', 'user-o');
$kirby->set('icon', 'bath');

or

$kirby->set('icon', ['user-o', 'bath']);
2 Likes

That’s great, whatever it is, it has an icon before it even exists :frowning:

But they are missing out on the most important icon :cry:

1 Like

@bastianallgeier:

Thank you very much for this update!

@texnixe:

Yes, you are correct, I miss the Kirby icon too.
An issue at https://github.com/FortAwesome/Font-Awesome/issues/7548 from @schurb is very old, but nothing had changed :cry:

HeinerEF

You should all vote on the issue, to give it some pressure: https://github.com/FortAwesome/Font-Awesome/issues/7548

I agree with Jens, that it might turn into a monster with too many icons. I would also love to switch to SVG instead of the icon font. But this is something we have to make gradually and we also might need to consider to switch to a different icon set entirely and have some way of porting over the names from fontawesome or offer nice replacements.

There’s a kickstarter for the upcoming v5 and for 20$ the pro license includes the svg version for all the icons.

Might be something worth considering for Kirby :slight_smile:

I think we’d need the theme license though. We are a “small business”, but I don’t think that license will cover selling products that include the icons.

Didn’t notice the theme license.
Damn I’m reading the terms and are quite incredible.

Allows use in a single theme that you can re-sell. For multiple themes, buy multiple licenses.

And the license is 800$ :astonished:

That’s indeed a lot for a single theme!

Way better to invest those 800 in 10 Kirby licenses :grin:

3 Likes

I often use this repo, MIT license.

I see two scenarios:

  1. Include all the svg icons in Kirby and use it with register set as my first reply.
  2. Only include the svg icons that is needed by the panel. Let the plugin developers include their own in the plugin assets folder. But provide a css wrapper class to make it simple to add icons.

I’ve changed my mind. Now I more and more prefer the second way to keep the panel clean. Else there would be 25-50 more icons for each new Kirby version.

I see big advantages of continue using Font Awesome icons:

  1. We already use them in the panel and in the plugins.
  2. There are very many icons to pick from.
  3. It would look bad to have a mix with panel icons and other kind of icons inside plugins.
  4. MIT/SIL license

I solved that issue long ago :slight_smile:

Well, it’s not Fort Awesome - but it works.

https://mega.nz/#!rgMw0YwZ!AzNFpdafDrwC9BINFN3bBiLHLd7vpHx2Mp8wexlIUZw

1 Like

… of the scss file

@all:
but the css file of panel version 2.4.0 is different from the scss file of this panel version like

said us.

Sorry for my incomplete check of the panel files at https://github.com/getkirby/panel/blob/master/assets/scss/fontawesome/_variables.scss in comparison to https://github.com/getkirby/panel/blob/master/assets/css/panel.css.