owenvoke / blade-fontawesome

A package to easily make use of Font Awesome in your Laravel Blade views.
https://packagist.org/packages/owenvoke/blade-fontawesome
MIT License
162 stars 27 forks source link

Add support for `sharp-duotone-solid` icons #81

Open JackWH opened 1 month ago

JackWH commented 1 month ago

This PR adds support for the new sharp-duotone-solid variation, released with FontAwesome 6.6.0.

Thanks!

JackWH commented 1 month ago

Worth noting, I set the prefix in the config file to fasds. This seems to differ from the convention used by the other prefixes.

I don't know how the other sharp set prefixes were determined, but fasds is the only way I could get these to load with Blade Icons. In my project I've had to override the config to change the prefixes for all the other Pro sets too (e.g. sharp-solid should be fass, sharp-thin should be fast, etc.), otherwise the Blade Icons package refused to load them.

Not sure if that's specific to my setup or just incorrect historically, but FYI @owenvoke in case that needs changing. Possibly related to #77 ?