Docs / DESKTOP-ICON

Desktop app icon

Source: docs/DESKTOP-ICON.md

Item 192. This icon set comes from the owner logo desktop/assets/brand/kitty_logo.png (via its transparent copy
kitty-logo-transparent.png). It was made with the logo-design skill
(github.com/kaankiziltug/logo-design-skill) in Assets mode, which covers favicons, app icons and variants
built from an existing mark with scripts/export_variants.py. The cat and the brand are unchanged.

What was wrong before

The old png/icon-*.png were the whole logo shrunk into a square: cat, voxels and the KITTY wordmark. At 16 and
32 px that turned into coloured noise.

Two drawings, one cat

Tier Sizes Drawing
Large 64, 128, 256, 512, 1024 The logo's own cat-on-console art cut from the logo, not redrawn. The floating props (gamepad, voxels) are removed. The console edge, which the wordmark covers in the logo, fades into the ground. The art sits on a rounded #100b18 tile (the logo's ground) on the macOS Big Sur grid: an 824/1024 tile with a soft shadow and a faint purple rim so it separates from a dark Dock or taskbar.
Small 16, 32, 48 The skill's small-size cut (--favicon-source): a 16-unit pixel head of the same cat in the logo palette, with ears, lime headphone cups, the wink plus the lime eye, white muzzle and pink nose. It is drawn on the pixel grid, so 16, 32 and 48 px are exact 1×/2×/3× renders with no blur.

Files

  • desktop/assets/brand/app-icon.icns: macOS. 10-entry iconset (16 to 512@2x), built with iconutil.
  • desktop/assets/brand/png/icon-{16,32,48,64,128,256,512,1024}.png: Linux, Windows, the Electron window and the
    Dock. The paths are unchanged, so src/app.cjs (ICON_PATH = icon-512.png), src/player-window.cjs and the
    index.html favicon (icon-32.png) pick up the new art without code changes.
  • desktop/assets/brand/icon/
    • kitty-icon.svg: master. The logo cut, embedded as PNG, because the owner logo is a raster and a vector
      redraw would change the cat.
    • kitty-icon-small.svg: 16×13 pixel head (small-size source).
    • kitty-icon-app-icon.svg, kitty-icon-square.svg: skill variants of the large tier.
    • kitty-icon-favicon.svg, kitty-icon-app-icon-small.svg: skill variants of the small cut.
    • kitty-icon-tile-16.svg, kitty-icon-favicon-16.svg: grid-aligned 16×16 tile and favicon, used for the 16/32/48 rasters.
    • web/: the skill's --web-icons set (favicon.ico, favicon PNGs, apple-touch-icon.png, icon-192/512.png,
      maskable-512.png, site.webmanifest, head-snippet.html). The favicon PNGs, .ico and .svg are
      replaced with grid-aligned renders, because the skill pads by 2 % and its 1-unit pixels land off the grid.

Commands

# from the repo root; needs Python 3 + Pillow + numpy, rsvg-convert (or Chrome), macOS iconutil
python3 desktop/scripts/build-app-icon.py --skill /path/to/logo-design

The script runs these skill commands (paths shortened):

python3 <skill>/scripts/export_variants.py icon/kitty-icon.svg --name kitty-icon --only favicon app-icon \
  --favicon-source icon/kitty-icon-small.svg --icon-scale 0.72 --optical-offset -0.02 --web-icons \
  --out-dir icon --title Kitty --icon-bg '#100b18' --icon-fg keep
python3 <skill>/scripts/export_variants.py icon/kitty-icon.svg --name kitty-icon --only square app-icon \
  --icon-scale 0.84 --optical-offset 0.01 --out-dir icon --title Kitty --icon-bg '#100b18' --icon-fg keep
python3 <skill>/scripts/render_png.py icon/kitty-icon-app-icon.svg -o tile-big.png --size 1024
python3 <skill>/scripts/render_png.py icon/kitty-icon-tile-16.svg -o png/icon-16.png --size 16   # also 32, 48
iconutil -c icns kitty.iconset -o app-icon.icns

--icon-fg keep keeps the logo colours on the tile. The optical offsets put the visual mass, which is the head,
slightly above the geometric centre. node desktop/scripts/build-brand-assets.cjs no longer writes the icons.

Checks (2026-11-28)

  • 16/32 px legibility: at 16 px the cat head reads as a cat: two ear points, lime cups on both sides, a white
    muzzle with a pink nose, and the lime eye. It holds on dark (#1e1e22) and light (#ececf0) grounds. The
    skill's pixel test, run on the large art, shows it turning to mush at 16/32 px. That is why the small cut exists.
  • Large tiers: the cat, its headphones, the console's cat glyph and the raised paw all read at 128 px and up.
    At 64 px the cat-on-console silhouette and the lime accents still read.
  • Validity: file app-icon.icns gives Mac OS X icon, "ic12" type. iconutil -c iconset round-trips to 10
    PNGs (16×16 to 1024×1024), and those convert back to .icns with no error.
  • Evidence: docs/evidence/desktop-icon/contact-sheet.png (true sizes plus 10×/5×/4× enlargements of 16/32/48,
    on dark and light grounds), skill-preview-sheet.png (the skill's preview_sheet.py) and web-icons.png.

Known limits

  • The one-colour and reversed versions of the tile are solid blobs, as expected for a full-colour tile.
    kitty-icon-favicon.svg gives a usable one-colour cat-head silhouette. Tray icons stay the existing monochrome
    templates.
  • The master embeds a raster, so the skill's "no rasters in finals" rule is knowingly bent. The owner logo is a
    raster, and redrawing it would change the cat.

Back to all docs