Closed krisalyssa closed 5 years ago
Font Awesome 5 adds four new prefixes:
fab
fas
far
fal
The actual prefix on the icon name is still fa-. So, for example, the Github icon (a brand) is ”fab fa-github”.
fa-
”fab fa-github”
For backward compatibility, the fa prefix is still supported, and acts as an alias for fas, which means only the solid style icons are available.
fa
Fixes #8.
I don't 100% like this (feels a bit hackish), but it's better than other solutions (e.g. overcomplicating the setup for FA5 with two kinds of prefixes)
Font Awesome 5 adds four new prefixes:
fab
for brandsfas
for the original solid stylefar
for regular outline stylefal
for light outline styleThe actual prefix on the icon name is still
fa-
. So, for example, the Github icon (a brand) is”fab fa-github”
.For backward compatibility, the
fa
prefix is still supported, and acts as an alias forfas
, which means only the solid style icons are available.Fixes #8.