From a3d906165a89f570e0547a77773d8e2d4f3d244e Mon Sep 17 00:00:00 2001 From: David Richardson Date: Sun, 15 Sep 2024 16:03:23 -0600 Subject: [PATCH] =?UTF-8?q?Change=20menubar=20inactive=20icon=20=E2=80=98R?= =?UTF-8?q?ender=20As=E2=80=99=20mode=20to=20=E2=80=98Template=20Image?= =?UTF-8?q?=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allows macOS to automatically manage blending mode and color of menubar icon. Modern macOS renders the menubar with translucency, making icons with some fixed colors difficult to see with some wallpapers. This was particularly pronounced with ‘status-icon-inactive’. Changing render mode to ‘Template Image’ allows the OS to adjust icon color and blending mode dynamically — to suit current combination of Light/Dark mode and wallpaper color. --- .../status-icon-inactive.imageset/Contents.json | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Tools/XcodeCapp/XcodeCapp/Images.xcassets/status-icon-inactive.imageset/Contents.json b/Tools/XcodeCapp/XcodeCapp/Images.xcassets/status-icon-inactive.imageset/Contents.json index 72969ef8e..94a1be41f 100644 --- a/Tools/XcodeCapp/XcodeCapp/Images.xcassets/status-icon-inactive.imageset/Contents.json +++ b/Tools/XcodeCapp/XcodeCapp/Images.xcassets/status-icon-inactive.imageset/Contents.json @@ -1,14 +1,14 @@ { "images" : [ { + "filename" : "status-icon-inactive.png", "idiom" : "universal", - "scale" : "1x", - "filename" : "status-icon-inactive.png" + "scale" : "1x" }, { + "filename" : "status-icon-inactive@2x.png", "idiom" : "universal", - "scale" : "2x", - "filename" : "status-icon-inactive@2x.png" + "scale" : "2x" }, { "idiom" : "universal", @@ -16,7 +16,10 @@ } ], "info" : { - "version" : 1, - "author" : "xcode" + "author" : "xcode", + "version" : 1 + }, + "properties" : { + "template-rendering-intent" : "template" } -} \ No newline at end of file +}