-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.xaml
More file actions
97 lines (86 loc) · 5.09 KB
/
App.xaml
File metadata and controls
97 lines (86 loc) · 5.09 KB
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
<?xml version="1.0" encoding="UTF-8" ?>
<Application
x:Class="English.Maui.App"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:English.Maui">
<Application.Resources>
<ResourceDictionary>
<Color x:Key="PrimaryColor">#3380FF</Color>
<Color x:Key="PageBackgroundColor">#512bdf</Color>
<Color x:Key="NavigationBarColor">#512bdf</Color>
<Color x:Key="PrimaryTextColor">White</Color>
<Color x:Key="textColor">#E5E9F0</Color>
<Color x:Key="strongTextColor">#ECEFF4</Color>
<Color x:Key="altTextColor">White</Color>
<Color x:Key="darkTextColor">#2E3440</Color>
<Color x:Key="lightTextColor">#E5E9F0</Color>
<Color x:Key="disabledTextColor">DarkGray</Color>
<Color x:Key="secondaryColor">#D08770</Color>
<Color x:Key="tertiaryColor">#A3BE8C</Color>
<x:Double x:Key="FontSizeMedium">20</x:Double>
<Style TargetType="Label">
<Setter Property="TextColor" Value="{DynamicResource PrimaryTextColor}" />
<Setter Property="FontFamily" Value="OpenSansRegular" />
</Style>
<Style TargetType="Button">
<Setter Property="TextColor" Value="{DynamicResource PrimaryTextColor}" />
<Setter Property="FontFamily" Value="OpenSansRegular" />
<Setter Property="BackgroundColor" Value="{DynamicResource PrimaryColor}" />
<Setter Property="Padding" Value="14,10" />
</Style>
<Style x:Key="shellItem" TargetType="Grid">
<Setter Property="VisualStateManager.VisualStateGroups">
<VisualStateGroupList>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal">
<VisualState.Setters>
<Setter Property="BackgroundColor" Value="{DynamicResource PageBackgroundColor}" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="Selected">
<VisualState.Setters>
<Setter Property="BackgroundColor" Value="{DynamicResource PageBackgroundColor}" />
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
</VisualStateGroupList>
</Setter>
</Style>
<Style ApplyToDerivedTypes="True" TargetType="NavigationPage">
<Setter Property="BackgroundColor" Value="{DynamicResource PageBackgroundColor}" />
<Setter Property="BarBackgroundColor" Value="{DynamicResource NavigationBarColor}" />
<Setter Property="BarTextColor" Value="{DynamicResource PrimaryTextColor}" />
</Style>
<Style x:Key="BaseStyle" TargetType="Element">
<Setter Property="Shell.FlyoutBackground" Value="{DynamicResource PageBackgroundColor}" />
<Setter Property="Shell.FlyoutBackgroundColor" Value="{DynamicResource PageBackgroundColor}" />
<Setter Property="Shell.BackgroundColor" Value="{DynamicResource NavigationBarColor}" />
<Setter Property="Shell.ForegroundColor" Value="{DynamicResource PrimaryTextColor}" />
<Setter Property="Shell.TitleColor" Value="{DynamicResource PrimaryTextColor}" />
<Setter Property="Shell.DisabledColor" Value="{DynamicResource disabledTextColor}" />
<Setter Property="Shell.UnselectedColor" Value="{DynamicResource disabledTextColor}" />
<Setter Property="Shell.TabBarBackgroundColor" Value="{DynamicResource PrimaryColor}" />
<Setter Property="Shell.TabBarTitleColor" Value="{DynamicResource PrimaryTextColor}" />
<Setter Property="Shell.TabBarUnselectedColor" Value="{DynamicResource disabledTextColor}" />
<Setter Property="Shell.NavBarHasShadow" Value="True" />
</Style>
<Style
ApplyToDerivedTypes="True"
BasedOn="{StaticResource BaseStyle}"
TargetType="FlyoutItem" />
<Style
ApplyToDerivedTypes="True"
BasedOn="{StaticResource BaseStyle}"
TargetType="Page">
<Setter Property="BackgroundColor" Value="{DynamicResource PageBackgroundColor}" />
</Style>
<Style x:Key="book_select_bttn_style" TargetType="Button">
<Setter Property="FontAttributes" Value="Bold" />
<Setter Property="TextColor" Value="{DynamicResource PrimaryTextColor}" />
<Setter Property="FontSize" Value="Medium" />
<Setter Property="BackgroundColor" Value="{DynamicResource NavigationBarColor}" />
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>