biz-icon

0.1.1 • Public • Published

BizIcon - A generator of webfonts

Build Status NPM Version

NPM Stat

A generator of webfonts from SVG icons based webfonts-generator.

Features:

  • Supported font format: WOFF, EOT, TTF and SVG.
  • Supported browsers: IE6+, Firefox, Chrome, Safari and Opera.

Download

npm install biz-icon
bower install biz-icon

or download from GitHub.

Usage

$ npm install grunt-cli -g
$ npm install
$ grunt

Configration

To add or remove icons, just edit the icons.json file:

{
  "fontName": "BizIcon",         // Name of font and the font files
  "fontDest": "font/",           // Path for generated font files
  "cssDest": "css/biz-icon.css", // Path for generated css file
  "cssFontsPath": "../font/"     // Fonts path used in css file
  "root": "svg/", // SVG files root directory
  "icons": [
    {
      "name": "search",   // Suffix name of css class
      "svg": "search.svg" // SVG files path relative to root
    },
	...
  ]
}

License

Licensed under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i biz-icon

Weekly Downloads

3

Version

0.1.1

License

MIT

Last publish

Collaborators

  • bizdevfe