A generator of webfonts from SVG icons based webfonts-generator.
- Supported font format: WOFF, EOT, TTF and SVG.
- Supported browsers: IE6+, Firefox, Chrome, Safari and Opera.
npm install biz-icon
bower install biz-icon
or download from GitHub.
$ npm install grunt-cli -g
$ npm install
$ grunt
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
},
...
]
}
Licensed under the MIT license.