|
|
|
<Application xmlns="https://github.com/avaloniaui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
x:Class="StabilityMatrix.Avalonia.App"
|
|
|
|
xmlns:local="using:StabilityMatrix.Avalonia"
|
|
|
|
xmlns:styling="clr-namespace:FluentAvalonia.Styling;assembly=FluentAvalonia"
|
|
|
|
RequestedThemeVariant="Default">
|
|
|
|
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
|
|
|
|
|
|
|
|
<Application.DataTemplates>
|
|
|
|
<local:ViewLocator/>
|
|
|
|
</Application.DataTemplates>
|
|
|
|
|
|
|
|
<Application.Resources>
|
|
|
|
<ResourceDictionary>
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
|
|
<ResourceInclude Source="Styles/ThemeColors.axaml"/>
|
|
|
|
<ResourceInclude Source="Styles/Card.axaml"/>
|
|
|
|
<ResourceInclude Source="Controls/CodeCompletion/CompletionListThemes.axaml"/>
|
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<x:Double x:Key="ContentDialogMaxWidth">700</x:Double>
|
|
|
|
|
|
|
|
<SolidColorBrush x:Key="ToolTipBackground" Color="#1E1F22"/>
|
|
|
|
<SolidColorBrush x:Key="ToolTipForeground" Color="#9FBDC3"/>
|
|
|
|
</ResourceDictionary>
|
|
|
|
</Application.Resources>
|
|
|
|
|
|
|
|
<Application.Styles>
|
|
|
|
<styling:FluentAvaloniaTheme PreferUserAccentColor="True" UseSystemFontOnWindows="True" />
|
|
|
|
<StyleInclude Source="avares://Dock.Avalonia/Themes/DockFluentTheme.axaml" />
|
|
|
|
<StyleInclude Source="avares://AvaloniaEdit/Themes/Fluent/AvaloniaEdit.xaml"/>
|
|
|
|
<StyleInclude Source="avares://AsyncImageLoader.Avalonia/AdvancedImage.axaml" />
|
|
|
|
<StyleInclude Source="Styles/ProgressRing.axaml"/>
|
|
|
|
<StyleInclude Source="Styles/ButtonStyles.axaml"/>
|
|
|
|
<StyleInclude Source="Styles/SplitButtonStyles.axaml"/>
|
|
|
|
<StyleInclude Source="Controls/SeedCard.axaml"/>
|
|
|
|
<StyleInclude Source="Controls/SamplerCard.axaml"/>
|
|
|
|
<StyleInclude Source="Controls/ImageGalleryCard.axaml"/>
|
|
|
|
<StyleInclude Source="Controls/PromptCard.axaml"/>
|
|
|
|
<StyleInclude Source="Controls/StackCard.axaml"/>
|
|
|
|
<StyleInclude Source="Controls/UpscalerCard.axaml"/>
|
|
|
|
<StyleInclude Source="Controls/StackExpander.axaml"/>
|
|
|
|
<StyleInclude Source="Controls/ModelCard.axaml"/>
|
|
|
|
<StyleInclude Source="Controls/BatchSizeCard.axaml"/>
|
|
|
|
<StyleInclude Source="Controls/CodeCompletion/CompletionWindow.axaml"/>
|
|
|
|
</Application.Styles>
|
|
|
|
</Application>
|