Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Automate icon generation (UI + service icons) #21

Open
4 of 17 tasks
coenkoopmans opened this issue Dec 4, 2019 · 0 comments
Open
4 of 17 tasks

Automate icon generation (UI + service icons) #21

coenkoopmans opened this issue Dec 4, 2019 · 0 comments
Assignees
Labels
prio:high Priority: High size:epic Size: Epic type:feature Type: Feature (new distinct functionality)

Comments

@coenkoopmans
Copy link
Contributor

coenkoopmans commented Dec 4, 2019

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:

  1. Put SVGs in a folder (such as ui-icons) with standardized names (such as ui-user.svg, ui-business.svg).
  2. Run an npm script (such as npm run generate-icons).
  3. The SVGs get optimized (for example by SVGO).
  4. 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).
  5. 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.

Acceptance criteria

  • Create npm script for generating icons
  • Optimize SVGs
  • Generate icon fonts
  • Automatically update the MD files

Tasks

References

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
prio:high Priority: High size:epic Size: Epic type:feature Type: Feature (new distinct functionality)
Projects
None yet
Development

No branches or pull requests

2 participants