mongoscope-glyphs

0.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i mongoscope-glyphs

    Weekly Downloads

    4

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • orechova
    • himanshusinghs
    • c-buckingham
    • mongo-j
    • mabaasit
    • alexander_schroll
    • chuck.kalmanek
    • mongodb-js-user
    • rueckstiess
    • durran
    • lerouxb
    • fredtruman
    • mbroadst
    • hswolff
    • satyasinha
    • matt_d_rat
    • rhysm
    • tomhollander
    • alena.khineika
    • jeff-allen-mongo
    • mmarcon
    • jonathan.balsano
    • mongodb-build
    • jack.weir
    • stennie
    • mcasimir
    • kristina.stefano
    • jarjee
    • shaketbaby
    • devtoolsbot
    • addaleax
    • gribnoysup
    • mutukrish
    • imlucas