mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
* New docs landing page design * Add icon type toggle, new toast bar layout * Design tweaks, responsive toast bar * Move toast bar to separate component * Sticky list headers, sitcky header nav, toggle focus between search inputs on scroll * Add svg source file zip archiving to build scripts * Add links to download svgs * Tweak header bar overlay state threshold * Get rid of toast bar flashing on first page load * Cleanup, adding some presentational details * Add mobile styles * Add router, scss * Finish mobile styles, browser testing fixes * Finish mobile styles, browser testing fixes * Add version to data.json file, a few style tweaks * Add 404 page and router switch * A few route tweaks * Update stencil, a few fixes * Add og image, update meta data * Add Twitter card meta * Custom search input clear button * cleanup * Woops! git was ignoring the src/docs folder * Add sticky subheaders back in for icon list * Update OG image * Update bug in ios trash icon
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