Astroid-Framework icon indicating copy to clipboard operation
Astroid-Framework copied to clipboard

add Fontawesome shims

Open shoulders opened this issue 6 years ago • 2 comments

I would like these added to as local and CDN.

Why do we need these

Kunena is a good example. It has an option in it to load the Fontawesome icons from the CDN but Kunena is still using version 4.x fontawesome icons. So when i turn of the load fontawesome from the CDN the icons no longer render.

image

These icons are called with the old style css:

  • <i class="fa fa-lock" aria-hidden="true"></i>

This shim would allow me to use a single fontawesome library. I am sure there are other legacy extensions out there that would benefit from this feature.

https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/v4-shims.css">

shoulders avatar Nov 26 '19 13:11 shoulders

just an fyi, you could easily do that with an @import in your custom.css file.

N6REJ avatar Nov 26 '19 15:11 N6REJ

I have OCD, lol

this is a low priority issue.

shoulders avatar Nov 26 '19 16:11 shoulders