Skip to content

Commit

Permalink
Update selection brushes. (microsoft/microsoft-ui-xaml#3053)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinnara committed Aug 16, 2020
1 parent 811e529 commit 01d2d98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ModernWpf/Styles/ListBox.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<Condition Property="IsSelected" Value="True" />
<Condition Property="IsMouseOver" Value="False" />
</MultiTrigger.Conditions>
<Setter TargetName="PressedBackground" Property="Fill" Value="{DynamicResource SystemControlHighlightListAccentLowBrush}" />
<Setter TargetName="PressedBackground" Property="Fill" Value="{DynamicResource SystemControlHighlightListAccentMediumLowBrush}" />
<Setter TargetName="ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource SystemControlHighlightAltBaseHighBrush}" />
</MultiTrigger>
<!-- SelectedUnfocused -->
Expand All @@ -64,7 +64,7 @@
<Condition Property="IsSelected" Value="True" />
<Condition Property="IsMouseOver" Value="False" />
</MultiTrigger.Conditions>
<Setter TargetName="PressedBackground" Property="Fill" Value="{DynamicResource SystemControlHighlightListAccentLowBrush}" />
<Setter TargetName="PressedBackground" Property="Fill" Value="{DynamicResource SystemControlHighlightListAccentMediumLowBrush}" />
<Setter TargetName="ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource SystemControlHighlightAltBaseHighBrush}" />
</MultiTrigger>
<!-- SelectedPointerOver -->
Expand All @@ -73,7 +73,7 @@
<Condition Property="IsSelected" Value="True" />
<Condition Property="IsMouseOver" Value="True" />
</MultiTrigger.Conditions>
<Setter TargetName="PressedBackground" Property="Fill" Value="{DynamicResource SystemControlHighlightListAccentMediumBrush}" />
<Setter TargetName="PressedBackground" Property="Fill" Value="{DynamicResource SystemControlHighlightListAccentLowBrush}" />
<Setter TargetName="ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource SystemControlHighlightAltBaseHighBrush}" />
</MultiTrigger>
</ControlTemplate.Triggers>
Expand Down

0 comments on commit 01d2d98

Please sign in to comment.