1.0.0 • Published 8 years ago
@tangogroup/gloocons v1.0.0
Gloo Icon Pack
Project Setup
- Checkout the repo on your local computer.
- Run the following from the repo root:
brew update && brew install librsvg
npm installGrabbing the Icons
The compiled icons live in the dist folder. You should grab them from there. The source icons live in the src folder. If a new icon is added to the src folder, you should run the build and commit the changes to the dist folder.
Building Icons
SVG Sprite (Currently used in Elmer/Epoxy)
Run the following to build an SVG sprite and JSON manifest:
npm run gulp svgSpritePDF (Currently used for iOS)
Run the following to build PDF icons:
npm run gulp pdfSVG (currently used for Andriod)
Run the following to build SVG icons:
npm run gulp svgFont (currently used for Nectar)
Run the following to build a font and corresponding LESS:
npm run gulp fontBuild 'em all!
Run the following to build SVG icons in all 4 formats:
npm run gulpIcon Destination
Check the dist folder to find your icons after building.
1.0.0
8 years ago