From fb2a18ddf7a8658faba947c60ec3a46085108605 Mon Sep 17 00:00:00 2001 From: "j.foucher" Date: Sat, 2 May 2026 08:43:21 +0200 Subject: [PATCH] Theme: retemplate ContextMenu, brighter MenuItem hover MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The white strip on the left of the context menu wasn't from MenuItem itself — it was the ContextMenu's default template that draws an icon column on the left of its popup chrome. Retemplating MenuItem alone left that column visible. Now the ContextMenu template is also reduced to a single Border + IsItemsHost StackPanel — no icon column at all. The MenuItem hover was barely visible (#2C2C32 vs Brush.Bg.Card #26262B). Now hover paints the row in Brush.Accent (#3B82F6 vivid blue) with white foreground — clearly readable. HasDropShadow=False on the ContextMenu removes the default drop shadow that was clashing with the WPF Aero-ish look. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/PSLauncher.App/Resources/Theme.xaml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/PSLauncher.App/Resources/Theme.xaml b/src/PSLauncher.App/Resources/Theme.xaml index ba0f5aa..a72026f 100644 --- a/src/PSLauncher.App/Resources/Theme.xaml +++ b/src/PSLauncher.App/Resources/Theme.xaml @@ -157,13 +157,30 @@ - +