Skip to content

Support in Admin plugin to upload Fontawesome 6 icons using Iconpicker #2445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

pmoreno-rodriguez
Copy link
Contributor

@pmoreno-rodriguez pmoreno-rodriguez commented Mar 3, 2025

Hi.
I've made some changes to the admin plugin to support the latest Fontawesome 6 version for Iconpicker buttons, which until now were displaying icons from Forkawesome, which was based on Fontawesome 4.7, and quite outdated.

Do you think it's feasible to add this functionality to Grav for its upcoming 1.8 release?

I'll give you a couple of screenshots

fontawesome_v6b
fontawesome_v6a

@rhukster
Copy link
Member

rhukster commented Mar 3, 2025

Is this the free stuff only? If we were to do this, we should probably upadte the icons in the Admin plugin also. The only issue is that there was some additional items in forkawesome that were added after 4.7.

@pmoreno-rodriguez
Copy link
Contributor Author

pmoreno-rodriguez commented Mar 4, 2025

In fact this PR is for the Admin plugin, and includes Fontawesome fonts version 6 (only free icons).

You can try it yourself if you want in a clean Grav installation.

Obviously, the creators of themes and plugins should adapt their code, because in Fontawesome 6 there is more than one prefix, not just fa. I'm studying this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants