Skip to content

Commit a53cc5e

Browse files
authored
Switched the color of the selection rectangle to use the system accent color (#2650)
1 parent d77c162 commit a53cc5e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Files/Views/LayoutModes/GenericFileBrowser.xaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
<FontIcon FontFamily="{StaticResource FluentUIGlyphs}" Glyph="&#xea55;" />
195195
</MenuFlyoutItem.Icon>
196196
</MenuFlyoutItem>
197-
<MenuFlyoutSeparator x:Name="NewMenuFileFolderSeparator"/>
197+
<MenuFlyoutSeparator x:Name="NewMenuFileFolderSeparator" />
198198
<MenuFlyoutItem
199199
x:Name="NewFile"
200200
x:Uid="BaseLayoutContextFlyoutNewFile"
@@ -922,7 +922,8 @@
922922
Canvas.Top="0"
923923
Width="0"
924924
Height="0"
925-
Fill="#AA0078d7"
925+
Fill="{ThemeResource SystemAccentColor}"
926+
Opacity=".5"
926927
Stroke="#FF0066cc"
927928
StrokeThickness="1" />
928929
</Canvas>

Files/Views/LayoutModes/GridViewBrowser.xaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
<FontIcon FontFamily="{StaticResource FluentUIGlyphs}" Glyph="&#xea55;" />
171171
</MenuFlyoutItem.Icon>
172172
</MenuFlyoutItem>
173-
<MenuFlyoutSeparator x:Name="NewMenuFileFolderSeparator"/>
173+
<MenuFlyoutSeparator x:Name="NewMenuFileFolderSeparator" />
174174
<MenuFlyoutItem
175175
x:Name="NewFile"
176176
x:Uid="BaseLayoutContextFlyoutNewFile"
@@ -940,7 +940,8 @@
940940
Canvas.Top="0"
941941
Width="0"
942942
Height="0"
943-
Fill="#AA0078d7"
943+
Fill="{ThemeResource SystemAccentColor}"
944+
Opacity=".5"
944945
Stroke="#FF0066cc"
945946
StrokeThickness="1" />
946947
</Canvas>

0 commit comments

Comments
 (0)