Guides · docs/guides/adding-an-icon.md
Adding an icon
Name it. Add one line to
src/taxonomy.txt, in the right category:name | the metaphor in a few words | tags | v6 names it replacesObject first, modifier last (
file-plus,user-check). Search the taxonomy first: if the idea exists, add a tag instead of a new icon.Draw the source. Create
src/icons/<category>/<name>.svgfollowing construction. Copy a sibling and change one thing. Coordinates are stroke centrelines on the 24 grid; never set a stroke width.tools/icons/author.mjshas helpers for rotated points, stars, gears and arcs if you draw in code.Check it.
make lint node tools/qa/sheet.mjs --names <name>,<sibling>,<sibling> --out qa/new.pngOpen
qa/new.png. It shows 16, 20 and 24 px in all five styles, on light and dark. Compare the icon with its siblings for weight, size and centre.Build.
make buildregeneratesbuild/, the taxonomy reference and the migration guide.make siterefreshes the collection page.Review. Open a pull request with the source,
src/taxonomy.txt, the regenerated files and the QA sheet. A second designer signs off the sheet. Lint warnings need a written reason.
Versioning: adding icons is a minor release, redrawing without a change of meaning is a patch, renaming or removing is a major release (the old name becomes an alias for at least one major version).