Skip to content

Commit 48b2fd6

Browse files
committed
Adjust Context Menu Hover/Click Colors
1 parent 6f60793 commit 48b2fd6

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Flow.Launcher/Resources/CustomControlTemplate.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2956,13 +2956,13 @@
29562956
<Setter TargetName="CheckGlyph" Property="Visibility" Value="Visible" />
29572957
</Trigger>
29582958
<Trigger Property="IsHighlighted" Value="True">
2959-
<Setter TargetName="LayoutRoot" Property="Background" Value="{DynamicResource MenuFlyoutItemBackgroundPointerOver}" />
2959+
<Setter TargetName="LayoutRoot" Property="Background" Value="{DynamicResource CustomContextHover}" />
29602960
<Setter TargetName="LayoutRoot" Property="TextElement.Foreground" Value="{DynamicResource Color05B}" />
29612961
<Setter TargetName="ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource Color05B}" />
29622962
<Setter TargetName="KeyboardAcceleratorTextBlock" Property="Foreground" Value="{DynamicResource MenuFlyoutItemKeyboardAcceleratorTextForegroundPointerOver}" />
29632963
</Trigger>
29642964
<Trigger Property="IsPressed" Value="True">
2965-
<Setter TargetName="LayoutRoot" Property="Background" Value="{DynamicResource MenuFlyoutItemBackgroundPressed}" />
2965+
<Setter TargetName="LayoutRoot" Property="Background" Value="{DynamicResource CustomContextClick}" />
29662966
<Setter TargetName="LayoutRoot" Property="TextElement.Foreground" Value="{DynamicResource Color05B}" />
29672967
<Setter TargetName="ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource Color05B}" />
29682968
<Setter TargetName="KeyboardAcceleratorTextBlock" Property="Foreground" Value="{DynamicResource MenuFlyoutItemKeyboardAcceleratorTextForegroundPressed}" />

Flow.Launcher/Resources/Dark.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@
6565

6666
<SolidColorBrush x:Key="CustomContextBorder" Color="#1b1b1b" />
6767
<SolidColorBrush x:Key="CustomContextBackground" Color="#2b2b2b" />
68-
<SolidColorBrush x:Key="CustomContextHover" Color="#3c3c3c" />
68+
<SolidColorBrush x:Key="CustomContextHover" Color="#3a3a3a" />
69+
<SolidColorBrush x:Key="CustomContextClick" Color="#353535" />
6970
<SolidColorBrush x:Key="CustomContextDisabled" Color="#868686" />
7071
<SolidColorBrush x:Key="ContextSeparator" Color="#3c3c3c" />
7172

Flow.Launcher/Resources/Light.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858

5959
<SolidColorBrush x:Key="CustomContextBorder" Color="#dadada" />
6060
<SolidColorBrush x:Key="CustomContextBackground" Color="#f2f2f2" />
61-
<SolidColorBrush x:Key="CustomContextHover" Color="#DBDBDB" />
61+
<SolidColorBrush x:Key="CustomContextHover" Color="#e4e4e4" />
62+
<SolidColorBrush x:Key="CustomContextClick" Color="#ececec" />
6263
<SolidColorBrush x:Key="CustomContextDisabled" Color="#868686" />
6364
<SolidColorBrush x:Key="ContextSeparator" Color="#dadada" />
6465

0 commit comments

Comments
 (0)