117 days ago · Tech · hide · Fediverse post

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…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town