mongoscope-glyphs
Glyphs for the MongoDB taxonomy and more!
Last updated 6 years ago by imlucas .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mongoscope-glyphs 
SYNC missed versions from official npm registry.

mongoscope-glyphs

Todo

  • [ ] 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

Making Changes

  1. Edit mongoscope.glyphs
  2. From Glyphs, export to mongoscope.otf
  3. npm run-script to generate

Using

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'));
});

Current Tags

  • 0.0.1                                ...           latest (6 years ago)

1 Versions

  • 0.0.1                                ...           6 years ago

Copyright 2014 - 2016 © taobao.org |