mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
Build Instructions
This repo already comes with all the files built and ready to go, but can also build the fonts from the source. Requires Python, FontForge, WOFF2, SVGO and Sass:
-
Install FontForge, which is the program that creates the font files from the SVG files:
$ brew install fontforge ttfautohint
-
Install Google's WOFF2 font compressor
-
Install Sass
$ gem install sass
-
Install SVGO
$ npm install -g svgo
-
Add or subtract files from the
src/folder you'd like to be apart of the build. -
Modify any settings in the
builder/manifest.jsonfile. You can change the name of the font-family and CSS classname prefix. -
Run the build command:
python ./builder/generate.py