- find the gulp task that converts an svg font file to individal png's
- include pngs in repo
- add examples with the actual pngs here
- package as keynote, PowerPoint and Visio shapes
- Edit
mongoscope.glyphs
- From Glyphs, export to
mongoscope.otf
npm run-script
to generate
Meant to be used with bootstrap (uses the @icon-font-path
variable) and Font Awesome. npm install --save-dev mongoscope-glyphs
and then mixin the below with your existing app gulpfile:
gulp.task('assets', function(){
return gulp.src('node_modules/mongoscope-glyphs/*.{eot,svg,woff,ttf}')
.pipe('./static/fonts');
});
gulp.task('less', function(){
var opts = {
paths: [
'node_modules/mongoscope-glyphs'
]
};
return gulp.src('your-file.less')
.pipe(require('gulp-less')(opts))
.pipe(gulp.dest('./static/css'));
});
MIT