mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
Build
npm run build
Data
Update the src/data.json file with each icon and search tags.
Cheatsheet
docs/cheatsheet.html
Install
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
-
Add or subtract files from the
src/folder you'd like to be apart of the build. -
Modify any settings in the
scripts/manifest.jsonfile. You can change the name of the font-family and CSS classname prefix. -
Run the build command:
npm run build