1.0.1 • Published 7 years ago
sassy-font-awesome v1.0.1
sassy-font-awesome
An extension of iconic Font Awesome that maintains the character encoding during the compile.
So if your stylesheet is filled with a bunch of blocks '' then this is the package for you!
Font Awesome version 4.7.0
How to use
scss
@include mixin _fa-icon(plus-square-o)
npm
npm install sassy-font-awesome --save
- link the module in your main .scss file
@import "./node_modules/sassy-font-awesome/font-awesome"
Gulp
- Create/Open gulpfile.js
- Create the task to copy the fonts to the public directory
gulp.task( "copy-fonts", function() { gulp.src("node_modules/sassy-font-awesome/fonts/fontawesome-webfont.*") .pipe( gulp.dest("./fonts/font-awesome/") ); });
(optional) Create/Add to a build task
gulp.task( "build", [ "copy-fonts" ] ); gulp.task( "default", function() { gulp.start("build"); });