Icon packs from styles x themes x apps
Find a file
RMS c8b9e2b480 feat: validate before building, and emit a contact sheet per pack
Validation (the silent-failure gate): every accent an app names must exist in
EVERY theme - that was the classic failure where the style falls back to overlay0
and the icon merely looks wrong - plus every slug must resolve to a vendored file,
every app needs a tint and a slug-or-monogram, every theme needs the required
colors keys, and every style must export render. It runs against all themes and
styles even when building one pack, and --check runs it alone. Non-zero exit.

Contact sheet: each pack now gets preview.svg, the whole pack on one labelled
grid. SVG rather than PNG on purpose - no rasteriser, so the build stays
stdlib-only and works off macOS, and it is text, so a theme change is a visible
diff. (qlmanage was tried for PNG and raced, returning blank thumbnails.)

Docs: README/SPEC document validation and the sheet; the two finished items move
out of the ROADMAP's open list.
2026-10-16 15:25:20 -06:00
icons feat: validate before building, and emit a contact sheet per pack 2026-10-16 15:25:20 -06:00
styles/tile feat(tile): fit the glyph to its ink, not its viewBox 2026-10-16 15:20:19 -06:00
themes feat: scaffold icon-foundry (styles x themes x apps) 2026-10-16 11:06:29 -06:00
vendor feat: real vector logos for the last four apps 2026-10-16 15:10:29 -06:00
.gitignore feat: scaffold icon-foundry (styles x themes x apps) 2026-10-16 11:06:29 -06:00
apps.json feat(tile): fit the glyph to its ink, not its viewBox 2026-10-16 15:20:19 -06:00
build.py feat: validate before building, and emit a contact sheet per pack 2026-10-16 15:25:20 -06:00
LICENSE feat: scaffold icon-foundry (styles x themes x apps) 2026-10-16 11:06:29 -06:00
NOTICE feat: real vector logos for the last four apps 2026-10-16 15:10:29 -06:00
README.md feat: validate before building, and emit a contact sheet per pack 2026-10-16 15:25:20 -06:00
ROADMAP.md feat: validate before building, and emit a contact sheet per pack 2026-10-16 15:25:20 -06:00
SPEC.md feat: validate before building, and emit a contact sheet per pack 2026-10-16 15:25:20 -06:00

icon-foundry

Icon packs built from three independent axes:

styles  ×  themes  ×  apps
  │           │        └── the content registry (apps.json)
  │           └─────────── the colours (themes/*.json)
  └─────────────────────── the form (styles/*/style.py)

A pack is just a (style, theme) pair. Adding a style or a theme never touches the other axes, so the foundry produces many looks from one process.

Currently shipping: 1 style × 5 themes × 15 apps = 75 icons.

Styles tile — rounded tinted tile on the theme base, one flat glyph
Themes catppuccin-mocha, catppuccin-macchiato, catppuccin-frappe, catppuccin-latte, pastel

Use

./build.py --list                       # what's available
./build.py --check                      # validate only (non-zero exit on a problem)
./build.py                              # build every pack
./build.py --style tile --theme pastel  # build one pack

Validation always runs first and is thorough: an app's tint must exist in every theme, a slug must resolve to a vendored file, a theme must carry the required colors, a style must export render. It checks against all themes and styles even when you build one pack.

Output lands in icons/<style>-<theme>/: one .svg per app, an index.json manifest, and a preview.svg contact sheet of the whole pack (handy for judging a theme, and diffable because it is text). The pack ships SVG; consumers rasterise. (The stream deck embeds SVG data URIs directly, so no PNG step is needed there.)

Layout

apps.json                 the content registry: app -> logo (or monogram) + tint
                          (all 15 apps have a real logo; monogram is the fallback)
themes/<theme>.json       a palette: base/text/onTint + named accents
styles/<style>/style.py   a renderer: render(app, theme) -> SVG
vendor/<set>/<slug>.svg   vendored logos, from several permissive sources
icons/<style>-<theme>/    generated packs
build.py                  styles x themes x apps

Vendored logo sources (each with its own licence - see NOTICE):

set source licence
simple-icons simpleicons.org CC0
dashboard-icons homarr-labs/dashboard-icons Apache-2.0
selfh-icons selfh.st/icons CC BY 4.0
orcaslicer SoftFever/OrcaSlicer AGPL-3.0 (the only non-MIT file)

Several vendored files had their background element removed (a disc, a triangle, a rounded square) so only the mark remains - a tile glyph wants the mark, not the app's own tile. That modification is recorded per file in NOTICE and in the vendor/*/README.md (CC BY and Apache-2.0 both require it).

Adding an app

Add an entry to apps.json:

{ "name": "Foo", "slug": "foo", "tint": "blue" }

slug must match a file in vendor/simple-icons/. If there is no logo for the app, drop slug and give it a monogram instead:

{ "name": "Bar", "monogram": "Ba", "tint": "mauve" }

tint names an accent, not a colour — every theme decides what that accent actually is, so one entry works under every theme.

Adding a theme

Copy a file in themes/, set colors (base, mantle, crust, text, subtext0, overlay0, onTint) and an accents map. Every accent name used by apps.json must exist, or the style falls back to overlay0. onTint is the ink colour for a glyph sitting on a tinted tile.

Adding a style

Create styles/<name>/style.py exposing render(app, theme) -> str (SVG). A style must take all its colour from the theme — never hardcode one — or it will not survive a theme switch. styles/tile/style.py is the reference.

Licensing

MIT — see LICENSE. Third-party assets and their terms are in NOTICE. icon-foundry is an independent implementation: it contains no artwork from any existing icon pack, and is not affiliated with or endorsed by any of the projects listed in NOTICE.

Future work

Styles and themes to add, plus the tooling gaps (accent checker, PNG export, vendor audit) are listed in ROADMAP.md. The short version: a style is one file and a theme is one JSON, so both are cheap — the only hard rule is that a style takes its colour from the theme and the theme knows nothing about the style.