Dan Romero

A better Mac app icon

Updated

A prompt that has a coding agent redesign a Mac app’s icon by rendering it the way macOS shows it, beside the icons in your Dock, and iterating until it holds its own there. The icon is one flat SVG in an Icon Composer document; tested with Xcode 27.2 and macOS 27.

754 words

Redesign this app’s icon so it holds its own in my Dock. Work as a top macOS icon designer would, and keep it simple: one flat vector mark, a few colors, no photorealism, no letters. Judge every draft beside the icons it will sit next to, never alone. Choose the winner yourself and install it; I’ll react to the result. If this repo builds more than one app, ask which in one short message.

1. Find what’s wrong first

2. Choose the idea

3. Draw, render, look

Build it as an Icon Composer document, AppIcon.icon: an icon.json and one SVG in Assets/, on a 1024 × 1024 canvas with flat fills only.

{
  "fill" : { "solid" : "extended-srgb:0.075,0.082,0.098,1.0" },
  "groups" : [
    {
      "layers" : [
        { "glass" : false, "image-name" : "Mark.svg", "name" : "Mark" }
      ],
      "shadow" : { "kind" : "none", "opacity" : 0 },
      "specular" : false,
      "translucency" : { "enabled" : false, "value" : 0.5 }
    }
  ],
  "supported-platforms" : { "squares" : [ "macOS" ] }
}

Render it with ictool, inside Xcode at Contents/Applications/Icon Composer.app/Contents/Executables/:

ictool AppIcon.icon --export-image --output-file out.png \
  --platform macOS --rendition Default --width 1024 --height 1024 --scale 1

4. Install it and prove it

Bundle it the way this repo already does. In an Xcode project, add AppIcon.icon to the target and set it as the app icon. In a script-built app, compile it and add CFBundleIconName to Info.plist:

xcrun actool AppIcon.icon --compile MyApp.app/Contents/Resources --app-icon AppIcon \
  --platform macosx --minimum-deployment-target 15.0 --output-partial-info-plist /dev/null
  1. Remove the old icon source and update any doc that describes it.
  2. Build, install, and render the installed app’s icon once more. It fills the tile like its neighbors, with no frame.
  3. Send me a before and after: the old and new Dock strips stacked, plus the icon at 1024. Add what you tried and rejected, in a line each.

An app that’s open keeps its old Dock icon until it’s reopened; say so, and don’t quit it for me.