/
App.xaml
46 lines (46 loc) · 3.38 KB
/
App.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<Application
x:Class="Files.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:converters="using:Files.Helpers">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
<ResourceDictionary Source="/ResourceDictionaries/ToolbarButtonStyle.xaml" />
<ResourceDictionary>
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Light">
<SolidColorBrush x:Key="UnmodifiedSystemPageColor" Color="White" />
<SolidColorBrush x:Key="YourHomeCardBackgroundColor" Color="#f3f1ef" />
<SolidColorBrush x:Key="YourHomeCardBorderColor" Color="#f3f1ef" />
<SolidColorBrush x:Key="TabViewBackground" Color="White" />
<SolidColorBrush x:Key="CustomInputFieldBorderBrush" Color="DarkGray" />
<SolidColorBrush x:Key="RibbonBackgroundColor" Color="White" />
<StaticResource x:Key="NavigationViewTopPaneBackground" ResourceKey="RibbonBackgroundColor" />
<SolidColorBrush x:Key="SystemControlPageBackgroundMediumAltMediumBrush" Color="#99000000" />
</ResourceDictionary>
<ResourceDictionary x:Key="Dark">
<SolidColorBrush x:Key="ApplicationPageBackgroundThemeBrush" Color="#191919" />
<SolidColorBrush x:Key="UnmodifiedSystemPageColor" Color="Black" />
<StaticResource x:Key="YourHomeCardBackgroundColor" ResourceKey="TextControlBackground" />
<SolidColorBrush x:Key="YourHomeCardBorderColor" Color="White" />
<SolidColorBrush x:Key="TabViewBackground" Color="Black" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundSelected" Color="#191919" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPointerOver" Color="#80191919" />
<SolidColorBrush x:Key="TabViewItemHeaderBackgroundPressed" Color="#191919" />
<SolidColorBrush x:Key="CustomInputFieldBorderBrush" Color="#FF363636" />
<SolidColorBrush x:Key="RibbonBackgroundColor" Color="#131313" />
<StaticResource x:Key="NavigationViewTopPaneBackground" ResourceKey="RibbonBackgroundColor" />
<SolidColorBrush x:Key="SystemControlPageBackgroundMediumAltMediumBrush" Color="#99000000" />
</ResourceDictionary>
<ResourceDictionary x:Key="HighContrast">
<!-- This empty dictionary ensures that the default high contrast resources are used when the user turns on high contrast mode. -->
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>
</ResourceDictionary>
</ResourceDictionary.MergedDictionaries>
<converters:NegateConverter x:Key="NegateConverter" />
</ResourceDictionary>
</Application.Resources>
</Application>