Crunchy-Downloader/CRD/App.axaml

25 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2024-05-04 15:35:32 +00:00
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:crd="clr-namespace:CRD"
xmlns:sty="clr-namespace:FluentAvalonia.Styling;assembly=FluentAvalonia"
x:Class="CRD.App"
RequestedThemeVariant="Dark">
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
2024-05-04 15:35:32 +00:00
<Application.DataTemplates>
<crd:ViewLocator />
2024-05-04 15:35:32 +00:00
</Application.DataTemplates>
<Application.Resources>
<x:Double x:Key="ContentDialogMinWidth">500</x:Double>
<x:Double x:Key="ContentDialogMaxWidth">1500</x:Double>
<x:Double x:Key="ContentDialogMinHeight">150</x:Double>
<x:Double x:Key="ContentDialogMaxHeight">700</x:Double>
</Application.Resources>
2024-05-04 15:35:32 +00:00
<Application.Styles>
<sty:FluentAvaloniaTheme PreferSystemTheme="True" PreferUserAccentColor="True"/>
2024-05-04 15:35:32 +00:00
<StyleInclude Source="avares://CRD/Styling/ControlsGalleryStyles.axaml" />
<StyleInclude Source="avares://CRD/Assets/Icons.axaml"></StyleInclude>
</Application.Styles>
</Application>