Skip to content

SVG files and scripts to create icon fonts used by Furkot trip planner

Notifications You must be signed in to change notification settings

furkot/icon-fonts

Repository files navigation

NPM version Dependency Status

furkot-icon-fonts

SVG files and scripts to create icon fonts used by Furkot road trip planner

Usage

Install the tools using npm

npm install

Use make to generate the icons

To generate fonts and style files in build directory

make clean build

To view generated icons in the browser

make demo

It is used to generate:

In order to add new icons drop SVG anywhere in the svg/furkot directory:

  • SVG file name needs to be unique
  • SVG viewBox should be square
  • for best results SVG should be rescaled to 512x512

To verify SVGs run:

make verify

To optimize non-conforming SVGs:

make optimize

It'll merge path, apply transforms and change the viewport aspect ratio to square (it will center the path preserving aspect ration). If resulting file needs to be further tweaked try inkscape and svgo.

To reduce size of SVGs:

make pack

It'll remove unused elements and reformat path to reduce file size.

License

All files in svg directory are published under the licenses provided by their owners. Check svg folder for iconset license files.

Everything outside of the svg directory is published under MIT license.

About

SVG files and scripts to create icon fonts used by Furkot trip planner

Resources

Stars

Watchers

Forks

Packages

No packages published