shared/images/iconfont/README.md
The complete SVG pipeline was as follows. Zeplin etc is gone
Sketch Assets → Zeplin → Export to SVG → Optimized with SVGO → Download
It's important to note that the original Sketch assets determine the final SVG output after running through SVGO. Pay attention for strange overlapping/masking paths in the final SVGs or inverted colors. This is usually caused by something happening in Sketch.
The naming convention of the SVG files is very important.
{counter}-kb-inconfont-{name-with-dashes}-{size}.svg
The counter is used to generate the unicode values for the characters in the iconfont. It is okay to have gaps in the counters. It is NOT ok to have multiple icons with the same counter.
{counter}-kb-iconfont-{name}-{size}.svg and there are no collisions in the counterskeybase/client/shared/images/iconfontyarn --check-filesyarn update-icon-font
shared/common-adapters/icon.constants-gen.tsx and shared/fonts/kb.ttf should be modifiedshared/fonts/kb.ttf should be modifiedkb.ttf for SVG artifacts or entirely black boxes for icons
FontForge.appFile > Open (cmd + O)$GOPATH/src/github.com/keybase/client/shared/fonts/kb.ttfView > Go To (cmd + shift + >){counter}-kb-iconfont-{name}-{size}.svg (E.g. 172-kb-iconfont....)Unfortunately this library is now archived / deprecated. Internally it uses the following packages, which can be used to replace the library if needed.