Sha256: 573413ac51141a69e8851d06bb3dd97ebfc2b3abf75e347a0da53eacfa249aa1
Contents?: true
Size: 1.09 KB
Versions: 3
Compression:
Stored size: 1.09 KB
Contents
# middleman-fontcustom [![Gem Version](https://badge.fury.io/rb/middleman-fontcustom.svg)](http://badge.fury.io/rb/middleman-fontcustom) [![Dependency Status](https://gemnasium.com/oame/middleman-fontcustom.svg)](https://gemnasium.com/oame/middleman-fontcustom) middleman-fontcustom is an extension that provides webfont generator for the Middleman. ## Installation Add `gem "middleman-fontcustom"` into your `Gemfile` and run `bundle install` ## Configure ```ruby activate :fontcustom ``` Following lines are default options of this extension. ```ruby activate :fontcustom do |fc| fc.font_name = 'fontcustom' fc.source_dir = 'assets/fontcustom' fc.fonts_dir = 'source/fonts' fc.css_dir = 'source/stylesheets' fc.templates = 'scss' # fc.templates = 'scss-rails scss css' fc.no_hash = false fc.preprocessor_path = nil end ``` Put your icon files(just like svg) into `source_dir`, then run `middleman server`. If `source_dir` has been changed, webfont files and stylesheets will be generated automatically. ## License Copyright (C) 2014 Yasuaki Uechi. see LICENSE.md for further details.
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
middleman-fontcustom-0.3.0 | README.md |
middleman-fontcustom-0.2.1 | README.md |
middleman-fontcustom-0.2.0 | README.md |