-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathApp.axaml
More file actions
35 lines (32 loc) · 1.52 KB
/
App.axaml
File metadata and controls
35 lines (32 loc) · 1.52 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
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="HedgeModManager.UI.App"
xmlns:local="using:HedgeModManager.UI"
xmlns:themes="using:HedgeModManager.UI.Themes"
xmlns:materialIcons="using:Material.Icons.Avalonia"
RequestedThemeVariant="{x:Static themes:Themes.Darker}"
Name="Hedge Mod Manager">
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<MergeResourceInclude Source="/Themes/Themes.axaml" />
<MergeResourceInclude Source="/Languages/Language.axaml" />
<MergeResourceInclude Source="/Languages/en-AU.axaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
<FontFamily x:Key="NunitoFont">/Assets/Fonts#Nunito</FontFamily>
<local:InvertedBoolConverter x:Key="InvertedBoolConverter"/>
<local:NullBoolConverter x:Key="NullBoolConverter"/>
<local:EmptyBoolConverter x:Key="EmptyBoolConverter"/>
<local:LogStringConverter x:Key="LogStringConverter"/>
<local:StringLocalizeConverter x:Key="StringLocalizeConverter"/>
</Application.Resources>
<Application.DataTemplates>
<local:ViewLocator/>
</Application.DataTemplates>
<Application.Styles>
<FluentTheme />
<materialIcons:MaterialIconStyles />
</Application.Styles>
</Application>