From 33242f8780c70f8a9257103471289e8a8d0a5a95 Mon Sep 17 00:00:00 2001 From: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com> Date: Sun, 1 Mar 2026 21:35:50 -0800 Subject: [PATCH] Fix menubar icon invisible in light mode (#741) Set isTemplate = true on the menu bar icon image so macOS automatically renders it black in light mode and white in dark mode. Changed the glyph fill from white to black per template image convention. Closes https://github.com/manaflow-ai/cmux/issues/737 --- Sources/AppDelegate.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/AppDelegate.swift b/Sources/AppDelegate.swift index 2c1d7c2d..6bd619e9 100644 --- a/Sources/AppDelegate.swift +++ b/Sources/AppDelegate.swift @@ -7750,6 +7750,7 @@ enum MenuBarIconRenderer { drawBadge(text: text, in: config.badgeRect, config: config) } + image.isTemplate = true return image } @@ -7778,7 +7779,7 @@ enum MenuBarIconRenderer { path.line(to: map(384.0, 369.0)) path.close() - NSColor.white.setFill() + NSColor.black.setFill() path.fill() }