psikent (Discord #feedback, 11-03) sent a dark Launchpad where magpie's icon was a near-black tile with a near-black, glassy bird. AppIcon.icon gave the bird a fill for the light and dark appearances only, so in the Clear and Tinted styles (System Settings, Appearance, Icon & widget style), which draw from the tintable rendition, actool used the light fill: the bird at 0.086 grey, whose luminance is what the system tints. On a dark tile that is dark on dark. The bird now has a "tinted" fill of white, so it takes the tint (or the clear glass) at full brightness. Light and plain Dark are unchanged. Not (a) or (c): the shipped Assets.car (v0.1.2816 in /Applications, same sha as build/darwin/Assets.car) matched icon.json, its dark rendition already a 0.957 bird on the dark grey tile, and the release build (magpie-releases release.yml, `make app`) copies that file. Run at this head, on mote (macOS 27.2, Xcode 27.2): - xcrun actool on build/darwin/AppIcon.icon, as `make icons` runs it; that output is this Assets.car (sha 72fe0ee3). The old one was made by Xcode 26.5; StorageVersion 17 and the 25 renditions are the same, and this Mac's macOS 26.2 assetutil reads it, the tintable group now filled with Color-2 (white). - A test bundle (build/darwin/Info.plist, magpie.icns, the Assets.car) drawn by IconServices for appearances 0-3 x variants 0-3, and by NSWorkspace iconForFile under AppleIconAppearanceTheme RegularLight, RegularDark, ClearLight, ClearDark, TintedLight and TintedDark (mote's setting put back after). The old Assets.car reproduces the report in ClearDark and TintedDark; the new one shows a bright bird in all six, and RegularLight / RegularDark look as before. - Broken by hand: a colour-coded icon (light red, dark green, tinted blue) showed Clear and Tinted draw from the "tinted" fill. Not tried: drawing it on macOS 26 itself (no macOS 26 test box; mote is on 27), and macOS 15 or older, which use the flattened renditions that this change doesn't alter. IconServices' variant 1 with dark appearance (no setting in the six themes maps to it) still draws the light bird on a black tile, as before.
25 lines
968 B
JSON
25 lines
968 B
JSON
{
|
|
"fill-specializations" : [
|
|
{ "value" : { "linear-gradient" : [ "srgb:1.00000,1.00000,1.00000,1.00000", "srgb:0.92549,0.92549,0.92549,1.00000" ] } },
|
|
{ "appearance" : "dark", "value" : { "linear-gradient" : [ "srgb:0.22745,0.22745,0.22745,1.00000", "srgb:0.13333,0.13333,0.13333,1.00000" ] } }
|
|
],
|
|
"groups" : [
|
|
{
|
|
"layers" : [
|
|
{
|
|
"image-name" : "magpie.png",
|
|
"name" : "magpie",
|
|
"fill-specializations" : [
|
|
{ "value" : { "solid" : "srgb:0.08627,0.08627,0.08627,1.00000" } },
|
|
{ "appearance" : "dark", "value" : { "solid" : "srgb:0.95686,0.95686,0.95686,1.00000" } },
|
|
{ "appearance" : "tinted", "value" : { "solid" : "srgb:1.00000,1.00000,1.00000,1.00000" } }
|
|
]
|
|
}
|
|
],
|
|
"shadow" : { "kind" : "neutral", "opacity" : 0.5 },
|
|
"translucency" : { "enabled" : false, "value" : 0.5 }
|
|
}
|
|
],
|
|
"supported-platforms" : { "squares" : [ "macOS" ] }
|
|
}
|