Skip to content

Commit 29f56e8

Browse files
committed
Feature: Added selection of built-in themes
1 parent e1a01fc commit 29f56e8

File tree

16 files changed

+465
-113
lines changed

16 files changed

+465
-113
lines changed

src/Files.App/App.xaml

Lines changed: 20 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -19,54 +19,47 @@
1919
<SolidColorBrush x:Key="WindowCaptionBackground" Color="Transparent" />
2020
<SolidColorBrush x:Key="WindowCaptionBackgroundDisabled" Color="Transparent" />
2121

22+
<!-- Removes NavigationView background -->
23+
<SolidColorBrush x:Key="NavigationViewContentBackground" Color="Transparent" />
24+
<!-- Removes NavigationView corner radius -->
25+
<CornerRadius x:Key="NavigationViewContentGridCornerRadius">0</CornerRadius>
26+
2227
<ResourceDictionary.MergedDictionaries>
2328
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
2429
<ResourceDictionary>
2530
<ResourceDictionary.ThemeDictionaries>
2631
<ResourceDictionary x:Key="Light">
32+
<SolidColorBrush x:Key="App.Theme.BackgroundBrush" Color="Transparent" />
33+
<SolidColorBrush x:Key="App.Theme.AddressBar.BackgroundBrush" Color="{StaticResource LayerOnMicaBaseAltFillColorDefault}" />
34+
<SolidColorBrush x:Key="App.Theme.Sidebar.BackgroundBrush" Color="{StaticResource CardBackgroundFillColorDefault}" />
35+
<SolidColorBrush x:Key="App.Theme.FileArea.BackgroundBrush" Color="{StaticResource CardBackgroundFillColorDefault}" />
36+
2737
<SolidColorBrush x:Key="TabViewItemHeaderBackground" Color="{StaticResource SubtleFillColorTransparent}" />
2838
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundSelected" Color="{StaticResource LayerOnMicaBaseAltFillColorDefault}" />
2939
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPressed" Color="{StaticResource SubtleFillColorTertiary}" />
3040
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPointerOver" Color="{StaticResource SubtleFillColorSecondary}" />
31-
<SolidColorBrush x:Key="TabViewItemSeparator" Color="{StaticResource DividerStrokeColorDefault}" />
32-
<SolidColorBrush x:Key="TabContainerFillColorPrimary" Color="{StaticResource SolidBackgroundFillColorTertiary}" />
33-
<SolidColorBrush x:Key="TabContainerFillColorSecondary" Color="{StaticResource SolidBackgroundFillColorSecondary}" />
34-
<SolidColorBrush x:Key="AddressToolbarBackgroundBrush" Color="{StaticResource LayerOnMicaBaseAltFillColorDefault}" />
35-
<SolidColorBrush x:Key="FileBrowserHeaderBackgroundBrush" Color="Transparent" />
36-
<SolidColorBrush x:Key="RootBackgroundBrush" Color="Transparent" />
37-
<StaticResource x:Key="SidebarContentBackgroundBrush" ResourceKey="CardBackgroundFillColorDefault" />
38-
<SolidColorBrush x:Key="TitlebarContentBackgroundBrush" Color="Transparent" />
39-
<SolidColorBrush x:Key="NavigationViewContentBackground" Color="Transparent" />
4041
</ResourceDictionary>
4142
<ResourceDictionary x:Key="Dark">
43+
<SolidColorBrush x:Key="App.Theme.BackgroundBrush" Color="Transparent" />
44+
<SolidColorBrush x:Key="App.Theme.AddressBar.BackgroundBrush" Color="{StaticResource LayerOnMicaBaseAltFillColorDefault}" />
45+
<SolidColorBrush x:Key="App.Theme.Sidebar.BackgroundBrush" Color="#993A3A3A" />
46+
<SolidColorBrush x:Key="App.Theme.FileArea.BackgroundBrush" Color="#993A3A3A" />
47+
4248
<SolidColorBrush x:Key="TabViewItemHeaderBackground" Color="{StaticResource SubtleFillColorTransparent}" />
4349
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundSelected" Color="{StaticResource LayerOnMicaBaseAltFillColorDefault}" />
4450
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPressed" Color="{StaticResource SubtleFillColorTertiary}" />
4551
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPointerOver" Color="{StaticResource SubtleFillColorSecondary}" />
46-
<SolidColorBrush x:Key="TabViewItemSeparator" Color="{StaticResource DividerStrokeColorDefault}" />
47-
<SolidColorBrush x:Key="TabContainerFillColorPrimary" Color="{StaticResource SolidBackgroundFillColorTertiary}" />
48-
<SolidColorBrush x:Key="TabContainerFillColorSecondary" Color="{StaticResource SolidBackgroundFillColorSecondary}" />
49-
<SolidColorBrush x:Key="AddressToolbarBackgroundBrush" Color="{StaticResource LayerOnMicaBaseAltFillColorDefault}" />
50-
<SolidColorBrush x:Key="FileBrowserHeaderBackgroundBrush" Color="Transparent" />
51-
<SolidColorBrush x:Key="RootBackgroundBrush" Color="Transparent" />
52-
<SolidColorBrush x:Key="SidebarContentBackgroundBrush" Color="#993A3A3A" />
53-
<SolidColorBrush x:Key="TitlebarContentBackgroundBrush" Color="Transparent" />
54-
<SolidColorBrush x:Key="NavigationViewContentBackground" Color="Transparent" />
5552
</ResourceDictionary>
5653
<ResourceDictionary x:Key="HighContrast">
54+
<SolidColorBrush x:Key="App.Theme.BackgroundBrush" Color="Transparent" />
55+
<SolidColorBrush x:Key="App.Theme.AddressBar.BackgroundBrush" Color="Transparent" />
56+
<SolidColorBrush x:Key="App.Theme.Sidebar.BackgroundBrush" Color="{StaticResource CardBackgroundFillColorDefault}" />
57+
<SolidColorBrush x:Key="App.Theme.FileArea.BackgroundBrush" Color="{StaticResource CardBackgroundFillColorDefault}" />
58+
5759
<SolidColorBrush x:Key="TabViewItemHeaderBackground" Color="{StaticResource SystemColorWindowColor}" />
5860
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundSelected" Color="{StaticResource LayerFillColorDefault}" />
5961
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPressed" Color="{StaticResource SystemColorHighlightColor}" />
6062
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPointerOver" Color="{StaticResource SystemColorHighlightColor}" />
61-
<SolidColorBrush x:Key="TabViewItemSeparator" Color="{StaticResource SystemColorGrayTextColor}" />
62-
<SolidColorBrush x:Key="TabContainerFillColorPrimary" Color="{StaticResource SolidBackgroundFillColorTertiary}" />
63-
<SolidColorBrush x:Key="TabContainerFillColorSecondary" Color="{StaticResource SolidBackgroundFillColorSecondary}" />
64-
<SolidColorBrush x:Key="AddressToolbarBackgroundBrush" Color="Transparent" />
65-
<StaticResource x:Key="FileBrowserHeaderBackgroundBrush" ResourceKey="SolidBackgroundFillColorBaseBrush" />
66-
<SolidColorBrush x:Key="RootBackgroundBrush" Color="Transparent" />
67-
<StaticResource x:Key="SidebarContentBackgroundBrush" ResourceKey="CardBackgroundFillColorDefault" />
68-
<SolidColorBrush x:Key="TitlebarContentBackgroundBrush" Color="Transparent" />
69-
<SolidColorBrush x:Key="NavigationViewContentBackground" Color="#0F000000" />
7063
</ResourceDictionary>
7164
</ResourceDictionary.ThemeDictionaries>
7265
<LinearGradientBrush x:Key="ControlElevationBorderBrush" MappingMode="Absolute" StartPoint="0,0" EndPoint="0,3">
@@ -79,7 +72,6 @@
7972
</LinearGradientBrush.GradientStops>
8073
</LinearGradientBrush>
8174

82-
<CornerRadius x:Key="NavigationViewContentGridCornerRadius">0</CornerRadius>
8375
<CornerRadius x:Key="GridViewThumbnailCornerRadius">2</CornerRadius>
8476
<CornerRadius x:Key="DetailsLayoutThumbnailCornerRadius">2</CornerRadius>
8577

src/Files.App/Helpers/AppThemeResourcesHelper.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ public void ApplyResources()
2323
}
2424

2525
/// <summary>
26-
/// Overrides the xaml resource for RootBackgroundBrush
26+
/// Overrides the xaml resource for App.Theme.BackgroundBrush
2727
/// </summary>
28-
/// <param name="appThemeRootBackgroundColor"></param>
29-
public void SetRootBackgroundColor(Color appThemeRootBackgroundColor)
28+
/// <param name="appThemeBackgroundColor"></param>
29+
public void SetRootBackgroundColor(Color appThemeBackgroundColor)
3030
{
31-
Application.Current.Resources["RootBackgroundBrush"] = appThemeRootBackgroundColor;
31+
Application.Current.Resources["App.Theme.BackgroundBrush"] = appThemeBackgroundColor;
3232
}
3333

3434
/// <summary>

src/Files.App/ServicesImplementation/Settings/AppearanceSettingsService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public bool BundlesWidgetExpanded
128128
}
129129

130130
/// <inheritdoc/>
131-
public UInt32 AppThemeRootBackgroundColor
131+
public UInt32 AppThemeBackgroundColor
132132
{
133133
get => Get(uint.MinValue);
134134
set => Set(value);
@@ -150,7 +150,7 @@ protected override void RaiseOnSettingChangedEvent(object sender, SettingChanged
150150
case nameof(ShowRecentFilesWidget):
151151
case nameof(ShowDrivesWidget):
152152
case nameof(ShowBundlesWidget):
153-
case nameof(AppThemeRootBackgroundColor):
153+
case nameof(AppThemeBackgroundColor):
154154
Analytics.TrackEvent($"Set {e.SettingName} to {e.NewValue}");
155155
break;
156156
}

src/Files.App/UserControls/AddressToolbar.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
x:Name="ToolbarGrid"
4949
HorizontalAlignment="Stretch"
5050
VerticalAlignment="Stretch"
51-
Background="{ThemeResource AddressToolbarBackgroundBrush}"
51+
Background="{ThemeResource App.Theme.AddressBar.BackgroundBrush}"
5252
ColumnSpacing="0">
5353
<Grid Padding="8" ColumnSpacing="4">
5454
<Grid.ColumnDefinitions>

src/Files.App/UserControls/SidebarControl.xaml

Lines changed: 8 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@
143143
Height="60"
144144
HorizontalAlignment="Left"
145145
x:Load="{x:Bind ShowDriveDetails}"
146+
Background="{ThemeResource ProgressRingBackgroundThemeBrush}"
146147
IsIndeterminate="False"
147-
Value="{x:Bind PercentageUsed, Mode=OneWay}"
148-
Background="{ThemeResource ProgressRingBackgroundThemeBrush}">
148+
Value="{x:Bind PercentageUsed, Mode=OneWay}">
149149

150150
<ProgressRing.Template>
151151
<ControlTemplate TargetType="ProgressRing">
@@ -321,12 +321,11 @@
321321
<Setter Property="VerticalContentAlignment" Value="Stretch" />
322322
<Setter Property="OpenPaneLength" Value="{ThemeResource SplitViewOpenPaneThemeLength}" />
323323
<Setter Property="CompactPaneLength" Value="{ThemeResource SplitViewCompactPaneThemeLength}" />
324-
<Setter Property="PaneBackground" Value="{ThemeResource SystemControlPageBackgroundChromeLowBrush}" />
325324
<Setter Property="CornerRadius" Value="{ThemeResource SplitViewPaneRootCornerRadius}" />
326325
<Setter Property="Template">
327326
<Setter.Value>
328327
<ControlTemplate TargetType="SplitView">
329-
<Grid Background="{TemplateBinding Background}" CornerRadius="0">
328+
<Grid>
330329
<Grid.ColumnDefinitions>
331330
<ColumnDefinition x:Name="ColumnDefinition1" Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.OpenPaneGridLength, FallbackValue=0}" />
332331
<ColumnDefinition x:Name="ColumnDefinition2" Width="*" />
@@ -337,44 +336,18 @@
337336
<RowDefinition Height="*" />
338337
</Grid.RowDefinitions>
339338

340-
<!-- I exist to make a nice looking background for both the tab strip without interfering with the drag area grid -->
341-
<Border
342-
x:Name="TitlebarBackgroundBorder"
343-
Grid.Column="0"
344-
Grid.ColumnSpan="2"
345-
VerticalAlignment="Stretch"
346-
Background="{ThemeResource TitlebarContentBackgroundBrush}"
347-
CornerRadius="0,0,0,0"
348-
IsHitTestVisible="False" />
349-
350-
<Border
351-
x:Name="ContentBackgroundBorder"
352-
Grid.Row="1"
353-
Grid.ColumnSpan="2"
354-
HorizontalAlignment="Stretch"
355-
VerticalAlignment="Stretch"
356-
Background="{ThemeResource SidebarContentBackgroundBrush}"
357-
IsHitTestVisible="False" />
358-
359-
<!-- Pane Content Area -->
339+
<!-- Sidebar Navigation -->
360340
<Grid
361341
x:Name="PaneRoot"
362342
Grid.Row="0"
363343
Grid.RowSpan="2"
364344
Grid.ColumnSpan="2"
365345
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.OpenPaneLength}"
366346
HorizontalAlignment="Left"
367-
Background="{TemplateBinding PaneBackground}"
368-
BorderBrush="{TemplateBinding BorderBrush}"
369-
BorderThickness="{TemplateBinding BorderThickness}"
370-
CornerRadius="{TemplateBinding CornerRadius}"
347+
Background="{ThemeResource App.Theme.Sidebar.BackgroundBrush}"
371348
RightTapped="PaneRoot_RightTapped"
372349
Visibility="Collapsed">
373350

374-
<Grid.BackgroundTransition>
375-
<BrushTransition />
376-
</Grid.BackgroundTransition>
377-
378351
<Grid.Clip>
379352
<RectangleGeometry x:Name="PaneClipRectangle">
380353
<RectangleGeometry.Transform>
@@ -398,7 +371,7 @@
398371
Visibility="Collapsed" />
399372
</Grid>
400373

401-
<!-- This allows the user to resize the pane -->
374+
<!-- This allows the user to resize the Sidebar -->
402375
<Grid
403376
x:Name="ResizeElementBorder"
404377
Grid.Row="0"
@@ -435,10 +408,11 @@
435408
VerticalAlignment="Top"
436409
Canvas.ZIndex="2" />
437410

438-
<!-- Content Area -->
411+
<!-- File Area -->
439412
<Grid
440413
x:Name="ContentRoot"
441414
Grid.Row="2"
415+
Background="{ThemeResource App.Theme.FileArea.BackgroundBrush}"
442416
Grid.ColumnSpan="2">
443417
<Grid.RenderTransform>
444418
<CompositeTransform x:Name="ContentTransform" />
@@ -955,12 +929,8 @@
955929
<VisualState.Setters>
956930
<Setter Target="PaneRoot.(Grid.Row)" Value="1" />
957931
<Setter Target="ResizeElementBorder.(Grid.Row)" Value="1" />
958-
<Setter Target="TitlebarBackgroundBorder.(Grid.Column)" Value="0" />
959-
<Setter Target="TitlebarBackgroundBorder.(Grid.ColumnSpan)" Value="2" />
960932
<Setter Target="TabContentBorder.(Grid.Column)" Value="0" />
961933
<Setter Target="TabContentBorder.(Grid.ColumnSpan)" Value="2" />
962-
<Setter Target="TitlebarBackgroundBorder.(Grid.Column)" Value="0" />
963-
<Setter Target="TitlebarBackgroundBorder.(Grid.ColumnSpan)" Value="2" />
964934
</VisualState.Setters>
965935
</VisualState>
966936
<VisualState x:Name="ClosedCompactRight">
@@ -994,12 +964,8 @@
994964
<VisualState.Setters>
995965
<Setter Target="PaneRoot.(Grid.Row)" Value="1" />
996966
<Setter Target="ResizeElementBorder.(Grid.Row)" Value="1" />
997-
<Setter Target="TitlebarBackgroundBorder.(Grid.Column)" Value="0" />
998-
<Setter Target="TitlebarBackgroundBorder.(Grid.ColumnSpan)" Value="2" />
999967
<Setter Target="TabContentBorder.(Grid.Column)" Value="0" />
1000968
<Setter Target="TabContentBorder.(Grid.ColumnSpan)" Value="2" />
1001-
<Setter Target="TitlebarBackgroundBorder.(Grid.Column)" Value="0" />
1002-
<Setter Target="TitlebarBackgroundBorder.(Grid.ColumnSpan)" Value="2" />
1003969
</VisualState.Setters>
1004970
</VisualState>
1005971
<VisualState x:Name="OpenOverlayLeft">
@@ -1053,12 +1019,8 @@
10531019

10541020
<Setter Target="PaneRoot.(Grid.Row)" Value="1" />
10551021
<Setter Target="ResizeElementBorder.(Grid.Row)" Value="1" />
1056-
<Setter Target="TitlebarBackgroundBorder.(Grid.Column)" Value="0" />
1057-
<Setter Target="TitlebarBackgroundBorder.(Grid.ColumnSpan)" Value="2" />
10581022
<Setter Target="TabContentBorder.(Grid.Column)" Value="0" />
10591023
<Setter Target="TabContentBorder.(Grid.ColumnSpan)" Value="2" />
1060-
<Setter Target="TitlebarBackgroundBorder.(Grid.Column)" Value="0" />
1061-
<Setter Target="TitlebarBackgroundBorder.(Grid.ColumnSpan)" Value="2" />
10621024
</VisualState.Setters>
10631025
</VisualState>
10641026
<VisualState x:Name="OpenInlineRight">
@@ -1093,12 +1055,8 @@
10931055
<VisualState.Setters>
10941056
<Setter Target="PaneRoot.(Grid.Row)" Value="1" />
10951057
<Setter Target="ResizeElementBorder.(Grid.Row)" Value="1" />
1096-
<Setter Target="TitlebarBackgroundBorder.(Grid.Column)" Value="0" />
1097-
<Setter Target="TitlebarBackgroundBorder.(Grid.ColumnSpan)" Value="2" />
10981058
<Setter Target="TabContentBorder.(Grid.Column)" Value="0" />
10991059
<Setter Target="TabContentBorder.(Grid.ColumnSpan)" Value="2" />
1100-
<Setter Target="TitlebarBackgroundBorder.(Grid.Column)" Value="0" />
1101-
<Setter Target="TitlebarBackgroundBorder.(Grid.ColumnSpan)" Value="2" />
11021060
</VisualState.Setters>
11031061
</VisualState>
11041062
<VisualState x:Name="OpenCompactOverlayLeft">

src/Files.App/ViewModels/SettingsViewModels/AppearanceViewModel.cs

Lines changed: 55 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
using CommunityToolkit.Mvvm.ComponentModel;
22
using CommunityToolkit.Mvvm.DependencyInjection;
3-
using CommunityToolkit.WinUI.Helpers;
3+
using CommunityToolkit.Mvvm.Input;
44
using Files.App.Extensions;
55
using Files.App.Helpers;
6+
using Files.App.Views.SettingsPages.Appearance;
67
using Files.Backend.Services.Settings;
7-
using Microsoft.UI;
88
using Microsoft.UI.Xaml;
9+
using Microsoft.UI.Xaml.Media;
910
using System;
1011
using System.Collections.Generic;
1112
using System.Collections.ObjectModel;
12-
using System.Threading.Tasks;
13+
using System.Linq;
14+
using System.Windows.Input;
1315
using Windows.UI;
1416

1517
namespace Files.App.ViewModels.SettingsViewModels
@@ -20,6 +22,8 @@ public class AppearanceViewModel : ObservableObject
2022

2123
public List<string> Themes { get; private set; }
2224

25+
public ObservableCollection<AppThemeResource> AppThemeResources { get; }
26+
2327
public AppearanceViewModel()
2428
{
2529
Themes = new List<string>()
@@ -28,6 +32,49 @@ public AppearanceViewModel()
2832
"LightTheme".GetLocalizedResource(),
2933
"DarkTheme".GetLocalizedResource()
3034
};
35+
36+
AppThemeResources = AppThemeResourceFactory.AppThemeResources;
37+
UpdateSelectedBackground();
38+
}
39+
40+
/// <summary>
41+
/// Selects the AppThemeResource corresponding to the AppThemeBackgroundColor setting
42+
/// </summary>
43+
private void UpdateSelectedBackground()
44+
{
45+
var backgroundColor = AppThemeBackgroundColor;
46+
47+
// Add color to the collection if it's not already there
48+
if (!AppThemeResources.Any(p => p.BackgroundColor == backgroundColor))
49+
{
50+
var appThemeBackgroundColor = new AppThemeResource
51+
{
52+
BackgroundColor = backgroundColor,
53+
PreviewColor = new SolidColorBrush(Color.FromArgb(255, backgroundColor.R, backgroundColor.G, backgroundColor.B)),
54+
Name = "Custom"
55+
};
56+
57+
AppThemeResources.Insert(1, appThemeBackgroundColor);
58+
}
59+
60+
SelectedAppBackgroundColor = AppThemeResources
61+
.Where(p => p.BackgroundColor == AppThemeBackgroundColor)
62+
.FirstOrDefault() ?? AppThemeResources[0];
63+
}
64+
65+
66+
private AppThemeResource selectedAppBackgroundColor;
67+
public AppThemeResource SelectedAppBackgroundColor
68+
{
69+
get => selectedAppBackgroundColor;
70+
set
71+
{
72+
if (SetProperty(ref selectedAppBackgroundColor, value))
73+
{
74+
AppThemeBackgroundColor = SelectedAppBackgroundColor.BackgroundColor;
75+
OnPropertyChanged(nameof(selectedAppBackgroundColor));
76+
}
77+
}
3178
}
3279

3380
private int selectedThemeIndex = (int)Enum.Parse(typeof(ElementTheme), ThemeHelper.RootTheme.ToString());
@@ -210,16 +257,16 @@ public bool ShowRecentFilesWidget
210257
}
211258
}
212259

213-
public Color AppThemeRootBackgroundColor
260+
public Color AppThemeBackgroundColor
214261
{
215-
get => ColorHelpers.FromUint(UserSettingsService.AppearanceSettingsService.AppThemeRootBackgroundColor);
262+
get => ColorHelpers.FromUint(UserSettingsService.AppearanceSettingsService.AppThemeBackgroundColor);
216263
set
217264
{
218-
if (ColorHelpers.ToUint(value) != UserSettingsService.AppearanceSettingsService.AppThemeRootBackgroundColor)
265+
if (ColorHelpers.ToUint(value) != UserSettingsService.AppearanceSettingsService.AppThemeBackgroundColor)
219266
{
220-
UserSettingsService.AppearanceSettingsService.AppThemeRootBackgroundColor = ColorHelpers.ToUint(value);
267+
UserSettingsService.AppearanceSettingsService.AppThemeBackgroundColor = ColorHelpers.ToUint(value);
221268

222-
App.AppThemeResourcesHelper.SetRootBackgroundColor(AppThemeRootBackgroundColor);
269+
App.AppThemeResourcesHelper.SetRootBackgroundColor(AppThemeBackgroundColor);
223270
App.AppThemeResourcesHelper.ApplyResources();
224271
}
225272
}

src/Files.App/Views/LayoutModes/DetailsLayoutBrowser.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@
245245
x:Name="HeaderGrid"
246246
Height="40"
247247
Padding="16,0,0,0"
248-
Background="{ThemeResource FileBrowserHeaderBackgroundBrush}"
249248
BorderBrush="{ThemeResource ControlStrokeColorDefault}"
250249
BorderThickness="0,0,0,1"
251250
PointerPressed="Grid_PointerPressed">

0 commit comments

Comments
 (0)