BEM port of Font Awesome.
See also bem-font-awesome-icons — Font Awesome icons extracted as SVG and provided via backgrounds or BEMHTML/BH tempaltes so no font required and only needed icons will be used.
fa/
fa.css # common styles
_icon/
fa_icon_500px.css
fa_icon_address-book-o.css
fa_icon_address-book.css
fa_icon_adjust.css
fa_icon_adn.css
# and so on
- Add the library to project dependencies:
npm i bem-font-awesome --save
- Add it as redefinition level
You're done :)
{ block: 'fa', mods: { icon: '500px' } }
<span class="fa fa_icon_500px"></span>