/Font-Awesome-Stylus

Stylus port for font-awesome 4.7.0

Primary LanguageCSSGNU General Public License v2.0GPL-2.0

Font Awesome Stylus

Stylus Port for Font Awesome

Installation

Import index.styl in your project and configure fonts path correctly ($fa-font-path)

Usage

// Set font path
$fa-font-path = "../fonts"
// OR
$fa-font-path = "http://netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts"

// Import component
@import "../bower_components/Font-Awesome-Stylus/stylus/index"

// Include icon using mixin
.my-icon
  fa(user)

Bower support

bower install font-awesome-stylus

NPM support

npm install font-awesome-stylus

Original source

http://fortawesome.github.io/Font-Awesome