From 554ab9e5707221bc66cc445ec59d73b6afa19247 Mon Sep 17 00:00:00 2001 From: Zac Gaetano Date: Sun, 10 May 2026 13:22:45 -0400 Subject: [PATCH] Make button hover affordances visible on dark canvas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hover state on Wd.Button.Ghost / Caption / RailIcon / IsoToggle was barely visible — the Wd.SurfaceHover fill (#242424) was only 14 luminance points off the canvas (#0A0A0A) and 16 off the cards (#141414), so the hover state read as 'no change' to the user. Changes: 1. Bumped Wd.SurfaceHover #242424 -> #2A2A2A and Wd.SurfaceActive #2D2D2D -> #363636 across the theme (carries to DataGrid rows etc. with the same too-subtle problem). 2. Added Wd.Button.HoverBg (#33333A) + Wd.Button.PressBg (#3F3F47) — dedicated stronger hover/press fills for buttons specifically. The slight blue tint adds chroma so hover reads obviously distinct from a flat darken. 3. Wd.Button.Ghost hover now also sets BorderBrush=Wd.Accent.Cyan — dual cue (lighter fill + bright cyan border) makes the affordance unmistakable on any surface. 4. Wd.Button.RailIcon hover sets foreground=Wd.Accent.Cyan in addition to the brighter fill (rail buttons have icons, not text — color shift on the icon is the strongest signal). 5. Wd.Button.IsoToggle keeps its status-coded background on hover (LIVE cyan / ERROR coral / NO SIGNAL amber) so at-a-glance state isn't lost; instead bumps to a 2px cyan border for the affordance. Verified: cleanly built, app launches, hover over Refresh button now has obvious brighter fill + tooltip vs. neighbors at rest. --- src/TeamsISO.App/Themes/WildDragonTheme.xaml | 57 ++++++++++++++++---- 1 file changed, 48 insertions(+), 9 deletions(-) diff --git a/src/TeamsISO.App/Themes/WildDragonTheme.xaml b/src/TeamsISO.App/Themes/WildDragonTheme.xaml index 78da5de..94b7f50 100644 --- a/src/TeamsISO.App/Themes/WildDragonTheme.xaml +++ b/src/TeamsISO.App/Themes/WildDragonTheme.xaml @@ -45,10 +45,19 @@ - - + + + + + @@ -147,11 +156,20 @@ Margin="{TemplateBinding Padding}"/> + - + + - + + @@ -213,10 +231,10 @@ - + - + @@ -265,9 +283,15 @@ + - - + + + + + @@ -302,8 +326,23 @@ Margin="{TemplateBinding Padding}"/> + - + + + + + + +