Unify primary button hover color and keep text color stable

This commit is contained in:
Meik
2026-03-05 13:06:17 +01:00
parent ab6cea7457
commit edf7e56fb6
4 changed files with 21 additions and 2 deletions

View File

@@ -199,6 +199,17 @@
Value="{DynamicResource activeButtonColor}" />
<Setter Property="BorderBrush"
Value="{DynamicResource activeButtonColor}" />
<Style.Triggers>
<Trigger Property="IsMouseOver"
Value="True">
<Setter Property="Background"
Value="{DynamicResource primaryActionHoverColor}" />
<Setter Property="BorderBrush"
Value="{DynamicResource primaryActionHoverColor}" />
<Setter Property="Foreground"
Value="{DynamicResource buttonTextColor}" />
</Trigger>
</Style.Triggers>
</Style>
<Style TargetType="Button"
x:Key="FlatButtonStyle2">