The icons get delivered by the designers in SVG format. Currently, these SVGs have been bundled to a font icon using IcoMoon. We want to prevent extending the license for this, and instead automate this process. The flow envisioned for this is:
Put SVGs in a folder (such as ui-icons) with standardized names (such as ui-user.svg, ui-business.svg).
Run an npm script (such as npm run generate-icons).
The SVGs get optimized (for example by SVGO).
The optimized SVGs are made into separate icon fonts (ui, service font) where the class names of the icons are equal to the name in the folder (so ui-user.svg becomes ui-user).
The relevant documentation MD pages are automatically updated to reflect the correct, newly generated icon set (total replacement, so make sure that old icons do not stay in the MD file)
Also, this process should automatically be executed by Travis CI, at least on develop and master.
Description
The icons get delivered by the designers in SVG format. Currently, these SVGs have been bundled to a font icon using IcoMoon. We want to prevent extending the license for this, and instead automate this process. The flow envisioned for this is:
ui-icons
) with standardized names (such asui-user.svg
,ui-business.svg
).npm run generate-icons
).ui-user.svg
becomesui-user
).Also, this process should automatically be executed by Travis CI, at least on develop and master.
Acceptance criteria
Tasks
References