Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 584 Bytes

HOWTO.md

File metadata and controls

31 lines (23 loc) · 584 Bytes

Requirements

sudo npm install -g svgo
sudo npm install -g icon-font-generator

Icon creation process

Create a build folder

mkdir /tmp/suitepicon/

Add new uncleaned icons to the build folder

Use inkscape

  • remove any masks and clipping
  • resize the icons to 1024x1024
  • use svgo to compress svgs

Use svgo to clean / compress the svgs:

svgo -f /tmp/suitepicon/ -o src

Build Icon set

icon-font-generator src/*svg -o suitepicon --mono --center -p suitepicon --csspath suitepicon/suitepicon-glyphs.scss --name suitepicon