From f7b341cb6ea66e03473cf4eab8d9e6c55a096e6c Mon Sep 17 00:00:00 2001 From: Zach Wasserman Date: Tue, 27 Sep 2022 08:56:16 -0700 Subject: [PATCH] Use dark theme icon in Fleet Desktop by default (#7973) This seems to be a better fit as a default due to what renders best in Ubuntu. Keeps themes the same as prior Desktop releases. --- orbit/cmd/desktop/desktop.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/orbit/cmd/desktop/desktop.go b/orbit/cmd/desktop/desktop.go index 2f2745c666..85d3a52b53 100644 --- a/orbit/cmd/desktop/desktop.go +++ b/orbit/cmd/desktop/desktop.go @@ -50,7 +50,9 @@ func main() { log.Info().Msg("ready") systray.SetTooltip("Fleet Desktop") - systray.SetTemplateIcon(iconLight, iconLight) + // Default to dark theme icon because this seems to be a better fit on Linux (Ubuntu at + // least). On macOS this is used as a template icon anyway. + systray.SetTemplateIcon(iconDark, iconDark) // Theme detection is currently only on Windows. On macOS we use template icons (which // automatically change), and on Linux we don't handle it yet (Ubuntu doesn't seem to change