Unify primary button hover color and keep text color stable
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user