| commit | author | age | ||
| 83c3f6 | 1 | # Build |
| SP | 2 | |
| 3 | npm run build | |
| 4 | ||
| 5 | ||
| 6 | # Data | |
| 7 | ||
| 8 | Update the src/data.json file with each icon and search tags. | |
| 9 | ||
| 10 | ||
| 11 | # Cheatsheet | |
| 12 | ||
| 13 | docs/cheatsheet.html | |
| 14 | ||
| 15 | ||
| 16 | ## Install | |
| 17 | ||
| 18 | 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: | |
| 19 | ||
| 20 | 1) Install FontForge, which is the program that creates the font files from the SVG files: | |
| 21 | ||
| 22 | $ brew install fontforge ttfautohint | |
| 23 | ||
| 24 | 2) Install Google's WOFF2 font compressor | |
| 25 | ||
| 26 | https://github.com/google/woff2 | |
| 27 | ||
| 28 | 3) Add or subtract files from the `src/` folder you'd like to be apart of the build. | |
| 29 | ||
| 30 | 4) Modify any settings in the `scripts/manifest.json` file. You can change the name of the font-family and CSS classname prefix. | |
| 31 | ||
| 32 | 5) Run the build command: | |
| 33 | ||
| 34 | npm run build | |