From 49d9ca7e50e41adc67eee90af31778c469bc3a5d Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Wed, 18 Feb 2026 19:19:21 -0500 Subject: [PATCH] Fix Lite tooltips using default light theme instead of dark Make the ToolTip style in DarkTheme.xaml implicit (remove x:Key) so it automatically applies to all tooltips without requiring explicit references. Simplify the alert badge tooltip back to a plain string since the global style now handles dark theming. Closes #120 Co-Authored-By: Claude Opus 4.6 --- Lite/MainWindow.xaml.cs | 8 +------- Lite/Themes/DarkTheme.xaml | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Lite/MainWindow.xaml.cs b/Lite/MainWindow.xaml.cs index 30c0d6ac..a29d0600 100644 --- a/Lite/MainWindow.xaml.cs +++ b/Lite/MainWindow.xaml.cs @@ -649,13 +649,7 @@ not when the user just switches time ranges. */ if (border.Child is TextBlock text) { text.Text = totalAlerts > 99 ? "99+" : totalAlerts.ToString(); - text.ToolTip = new System.Windows.Controls.ToolTip - { - Content = $"Blocking: {blockingCount}, Deadlocks: {deadlockCount}\nRight-click to dismiss", - Background = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(0x1E, 0x1E, 0x2E)), - Foreground = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(0xE4, 0xE6, 0xEB)), - BorderBrush = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromRgb(0x3A, 0x3D, 0x45)) - }; + text.ToolTip = $"Blocking: {blockingCount}, Deadlocks: {deadlockCount}\nRight-click to dismiss"; } } else diff --git a/Lite/Themes/DarkTheme.xaml b/Lite/Themes/DarkTheme.xaml index aa144d7c..44df319b 100644 --- a/Lite/Themes/DarkTheme.xaml +++ b/Lite/Themes/DarkTheme.xaml @@ -1063,7 +1063,7 @@ -