Documenting Icon Composers undocumented icon.json format 0 ▲ Tales from the South Pole 4 hours ago · Tech · hide · 0 comments Apple’s Icon Composer saves each .icon file as a package containing artwork assets and an icon.json manifest.That JSON controls things like:Layers and groupsLight, dark, and tinted appearancesLiquid Glass blur and translucencyShadows and specular effectsBlend modesLayer positioning and visibilitySolid, automatic, and oriented gradient fillsPlatform support for square and circular iconsThe problem is that Apple doesn’t appear to publish the complete icon.json schema as a public API. The format also has details that aren’t obvious from using the UI—for example, specialization values can be "automatic", null, or a concrete value, while an explicit null can mean something different from an omitted property.I created IconComposerModel to reverse-document the format from real files produced by Icon Composer:https://github.com/peterpoliwoda/icon-composer-templateThe repository currently contains:A Swift Package with reusable Codable modelsA detailed Markdown attribute referenceReal icon.json… No comments yet. Log in to reply on the Fediverse. Comments will appear here.