From 93f54d094aa1f38ab6894badaeca36eb012d0f45 Mon Sep 17 00:00:00 2001 From: "j.foucher" Date: Sun, 3 May 2026 18:52:38 +0200 Subject: [PATCH] Theme : dark global ToolTip style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WPF's default ToolTip is a white-on-black system look that clashes with the dark theme — visible whenever the user hovers a button with ToolTip="…", a health banner pill, the « ⋯ » menu hint, etc. Global TargetType=ToolTip style : Background : Brush.Bg.Card Foreground : Brush.Text.Primary Border : Brush.Border, 1 px, 6 px corner radius Padding : 12 × 8 (more breathing room than default) MaxWidth : 360 — so the longer health-banner tooltips wrap to a second/third line instead of running off the right edge HasDropShadow : true (the only WPF-native cue that says « this is a tooltip floating above » since we removed the OS skin) Inner TextBlock style cascades TextWrapping=Wrap on string-content tooltips so multi-line messages format nicely. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/PSLauncher.App/Resources/Theme.xaml | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/src/PSLauncher.App/Resources/Theme.xaml b/src/PSLauncher.App/Resources/Theme.xaml index 3440ec1..8709b51 100644 --- a/src/PSLauncher.App/Resources/Theme.xaml +++ b/src/PSLauncher.App/Resources/Theme.xaml @@ -287,6 +287,47 @@ + + + + + + + + + +