Skip to content

Commit 5e5e19c

Browse files
committed
Hover brush
1 parent a2b9c12 commit 5e5e19c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Files.App/App.xaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777

7878
<Color x:Key="App.Theme.FillColorAttention">#0070CB</Color>
7979
<SolidColorBrush x:Key="App.Theme.FillColorAttentionBrush" Color="{StaticResource App.Theme.FillColorAttention}" />
80+
<SolidColorBrush x:Key="App.Theme.CardBackgroundFillColorTertiaryBrush" Color="#FFFFFFFF" />
8081
</ResourceDictionary>
8182
<ResourceDictionary x:Key="Dark">
8283
<SolidColorBrush x:Key="App.Theme.BackgroundBrush" Color="Transparent" />
@@ -94,6 +95,7 @@
9495

9596
<Color x:Key="App.Theme.FillColorAttention">#50C0FF</Color>
9697
<SolidColorBrush x:Key="App.Theme.FillColorAttentionBrush" Color="{StaticResource App.Theme.FillColorAttention}" />
98+
<SolidColorBrush x:Key="App.Theme.CardBackgroundFillColorTertiaryBrush" Color="#12FFFFFF" />
9799
</ResourceDictionary>
98100
<ResourceDictionary x:Key="HighContrast">
99101
<SolidColorBrush x:Key="App.Theme.BackgroundBrush" Color="Transparent" />
@@ -111,6 +113,7 @@
111113

112114
<Color x:Key="App.Theme.FillColorAttention">#50C0FF</Color>
113115
<SolidColorBrush x:Key="App.Theme.FillColorAttentionBrush" Color="{StaticResource App.Theme.FillColorAttention}" />
116+
<SolidColorBrush x:Key="App.Theme.CardBackgroundFillColorTertiaryBrush" Color="{StaticResource SystemColorWindowColor}" />
114117
</ResourceDictionary>
115118
</ResourceDictionary.ThemeDictionaries>
116119
</ResourceDictionary>

src/Files.App/Views/Layouts/GridLayoutPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,10 +920,10 @@
920920
FocusVisualSecondaryBrush="{TemplateBinding FocusVisualSecondaryBrush}"
921921
FocusVisualSecondaryThickness="{TemplateBinding FocusVisualSecondaryThickness}"
922922
PlaceholderBackground="{ThemeResource GridViewItemPlaceholderBackground}"
923-
PointerOverBackground="{ThemeResource GridViewItemBackgroundPointerOver}"
923+
PointerOverBackground="{ThemeResource App.Theme.CardBackgroundFillColorTertiaryBrush}"
924924
PointerOverBorderBrush="{ThemeResource GridViewItemPointerOverBorderBrush}"
925925
PointerOverForeground="{ThemeResource GridViewItemForegroundPointerOver}"
926-
PressedBackground="{ThemeResource GridViewItemBackgroundPressed}"
926+
PressedBackground="{ThemeResource App.Theme.CardBackgroundFillColorTertiaryBrush}"
927927
ReorderHintOffset="{ThemeResource GridViewItemReorderHintThemeOffset}"
928928
SelectedBackground="{ThemeResource CardBackgroundFillColorDefaultBrush}"
929929
SelectedBorderBrush="{ThemeResource GridViewItemSelectedBorderBrush}"

0 commit comments

Comments
 (0)