-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.xaml
126 lines (104 loc) · 5.84 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<Application
x:Class="BibleBrowserUWP.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:BibleBrowserUWP">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls"/>
<!--<ResourceDictionary Source="LightColours.xaml"/>-->
</ResourceDictionary.MergedDictionaries>
<ResourceDictionary.ThemeDictionaries>
<!-- LIGHT THEME -->
<ResourceDictionary x:Key="Light">
<!-- Override the accent colour -->
<Color x:Key="SystemAccentColor">#E23F47</Color>
<Color x:Key="AppBarBackgroundThemeBrush">#FF749099</Color>
<SolidColorBrush x:Key="ReceptusRed" Color="#E23F47"/>
<SolidColorBrush x:Key="ReceptusGrey" Color="#7FA1AB"/>
<SolidColorBrush x:Key="ReceptusLight" Color="#F2F2F2"/>
<SolidColorBrush x:Key="ReceptusText" Color="Black"/>
<SolidColorBrush x:Key="ReceptusLighGrey" Color="#D3DBDE"/>
<SolidColorBrush x:Key="ButtonColour" Color="White"/>
<SolidColorBrush x:Key="DisabledButtonColour" Color="#FF99BCC7"/>
<AcrylicBrush x:Key="ReceptusAcrylicMutedWindow"
BackgroundSource="HostBackdrop"
TintColor="#FF749099"
TintOpacity="0.4"
FallbackColor="#FF749099"/>
<AcrylicBrush x:Key="ReceptusAcrylicAccentWindow"
BackgroundSource="HostBackdrop"
TintColor="#E23F47"
TintOpacity="0.8"
FallbackColor="#E23F47"/>
<AcrylicBrush x:Key="ReceptusLightAcrylicElement"
BackgroundSource="Backdrop"
TintColor="#F2F2F2"
TintOpacity="0.4"
FallbackColor="#F2F2F2"/>
<AcrylicBrush x:Key="ReceptusAcrylicMutedElement"
BackgroundSource="Backdrop"
TintColor="#7FA1AB"
TintOpacity="0.4"
FallbackColor="#7FA1AB"/>
<Style x:Key="ReceptusMark" TargetType="Image">
<Setter Property="Source" Value="/Assets/General-Receptus-dark.png"/>
</Style>
</ResourceDictionary>
<!-- DARK THEME -->
<ResourceDictionary x:Key="Dark">
<Color x:Key="SystemAccentColor">#F2F2F2</Color>
<Color x:Key="AppBarBackgroundThemeBrush">#587077</Color>
<SolidColorBrush x:Key="ReceptusRed" Color="#E23F47"/>
<SolidColorBrush x:Key="ReceptusGrey" Color="#F2F2F2"/>
<SolidColorBrush x:Key="ReceptusLight" Color="Black"/>
<SolidColorBrush x:Key="ReceptusText" Color="#F2F2F2"/>
<SolidColorBrush x:Key="ReceptusLighGrey" Color="#D3DBDE"/>
<SolidColorBrush x:Key="ButtonColour" Color="WhiteSmoke"/>
<SolidColorBrush x:Key="DisabledButtonColour" Color="#FF99BCC7"/>
<AcrylicBrush x:Key="ReceptusAcrylicMutedWindow"
BackgroundSource="HostBackdrop"
TintColor="#7FA1AB"
TintOpacity="0.4"
FallbackColor="#7FA1AB"/>
<AcrylicBrush x:Key="ReceptusAcrylicAccentWindow"
BackgroundSource="HostBackdrop"
TintColor="Black"
TintOpacity="0.9"
FallbackColor="Black"/>
<AcrylicBrush x:Key="ReceptusLightAcrylicElement"
BackgroundSource="Backdrop"
TintColor="#7FA1AB"
TintOpacity="0.4"
FallbackColor="#7FA1AB"/>
<AcrylicBrush x:Key="ReceptusAcrylicMutedElement"
BackgroundSource="Backdrop"
TintColor="#7FA1AB"
TintOpacity="0.4"
FallbackColor="#D87FA1AB"/>
<Style x:Key="ReceptusMark" TargetType="Image">
<Setter Property="Source" Value="/Assets/General-Receptus-light.png"/>
<Setter Property="Height" Value="50" />
<Setter Property="Margin" Value="50"/>
</Style>
</ResourceDictionary>
<!-- HIGH CONTRAST THEME-->
<ResourceDictionary x:Key="HighContrast">
<SolidColorBrush x:Key="ReceptusRed" Color="#F2F2F2"/>
<SolidColorBrush x:Key="ReceptusGrey" Color="#F2F2F2"/>
<SolidColorBrush x:Key="ReceptusLight" Color="#F2F2F2"/>
<SolidColorBrush x:Key="ReceptusLighGrey" Color="#D3DBDE"/>
<SolidColorBrush x:Key="ReceptusAcrylicMutedWindow"
Color="{ThemeResource SystemColorWindowColor}"/>
<SolidColorBrush x:Key="ReceptusAcrylicAccentWindow"
Color="{ThemeResource SystemColorWindowColor}"/>
<SolidColorBrush x:Key="ReceptusLightAcrylicElement"
Color="{ThemeResource SystemBaseHighColor}"/>
<SolidColorBrush x:Key="ReceptusAcrylicMutedElement"
Color="{ThemeResource SystemBaseWindowColor}"/>
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>