mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-01 20:34:57 +01:00
Pages scroll below the size they are laid out for and Start stays in view. The crash window shows this session's log only.
55 lines
4.3 KiB
XML
55 lines
4.3 KiB
XML
<Application xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:materialIcons="clr-namespace:Material.Icons.Avalonia;assembly=Material.Icons.Avalonia"
|
|
xmlns:chrome="clr-namespace:Avalonia.Controls.Chrome;assembly=Avalonia.Controls"
|
|
x:Class="StarterNG.App"
|
|
x:CompileBindings="True"
|
|
RequestedThemeVariant="Dark">
|
|
|
|
<Application.Styles>
|
|
<FluentTheme />
|
|
<materialIcons:MaterialIconStyles />
|
|
<StyleInclude Source="avares://Starter/Styles/Carbon.axaml" />
|
|
<StyleInclude Source="avares://Starter/Styles/Settings.axaml" />
|
|
|
|
<!-- A dropdown whose options are bound to the translation table. The closed
|
|
box keeps a copy of the text picked, so it would stay in the old
|
|
language; this shows the option itself, which follows the change. -->
|
|
<Style Selector="ComboBox.Localized">
|
|
<Setter Property="SelectionBoxItemTemplate">
|
|
<DataTemplate>
|
|
<TextBlock Text="{Binding $parent[ComboBox].((ComboBoxItem)SelectedItem).Content}" />
|
|
</DataTemplate>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style Selector="Button[(chrome|WindowDecorationProperties.ElementRole)=FullScreenButton]">
|
|
<Setter Property="IsVisible" Value="False" />
|
|
</Style>
|
|
</Application.Styles>
|
|
<Application.Resources>
|
|
<PathGeometry x:Key="DiscordLogo" Figures="M 81.15 0 c -1.2376 2.1973 -2.3489 4.4704 -3.3591 6.794 c -9.5975 -1.4396 -19.3718 -1.4396 -28.9945 0 c -0.985 -2.3236 -2.1216 -4.5967 -3.3591 -6.794 c -9.0166 1.5407 -17.8059 4.2431 -26.1405 8.0568 C 2.779 32.5304 -1.6914 56.3725 0.5312 79.8863 c 9.6732 7.1476 20.5083 12.603 32.0505 16.0884 c 2.6014 -3.4854 4.8998 -7.1981 6.8698 -11.0623 c -3.738 -1.3891 -7.3497 -3.1318 -10.8098 -5.1523 c 0.9092 -0.6567 1.7932 -1.3386 2.6519 -1.9953 c 20.281 9.547 43.7696 9.547 64.0758 0 c 0.8587 0.7072 1.7427 1.3891 2.6519 1.9953 c -3.4601 2.0457 -7.0718 3.7632 -10.835 5.1776 c 1.97 3.8642 4.2683 7.5769 6.8698 11.0623 c 11.5419 -3.4854 22.3769 -8.9156 32.0509 -16.0631 c 2.626 -27.2771 -4.496 -50.9172 -18.817 -71.8548 C 98.9811 4.2684 90.1918 1.5659 81.1752 0.0505 l -0.0252 -0.0505 Z M 42.2802 65.4144 c -6.2383 0 -11.4159 -5.6575 -11.4159 -12.6535 s 4.9755 -12.6788 11.3907 -12.6788 s 11.5169 5.708 11.4159 12.6788 c -0.101 6.9708 -5.026 12.6535 -11.3907 12.6535 Z M 84.3576 65.4144 c -6.2637 0 -11.3907 -5.6575 -11.3907 -12.6535 s 4.9755 -12.6788 11.3907 -12.6788 s 11.4917 5.708 11.3906 12.6788 c -0.101 6.9708 -5.026 12.6535 -11.3906 12.6535 Z" FillRule="NonZero"/>
|
|
|
|
<Color x:Key="SystemAccentColor">#177f00</Color>
|
|
<Color x:Key="SystemAccentColorDark1">#136B00</Color>
|
|
<Color x:Key="SystemAccentColorDark2">#0F5600</Color>
|
|
<Color x:Key="SystemAccentColorDark3">#0B4200</Color>
|
|
<Color x:Key="SystemAccentColorLight1">#2A9A0F</Color>
|
|
<Color x:Key="SystemAccentColorLight2">#41C400</Color>
|
|
<Color x:Key="SystemAccentColorLight3">#5FD42A</Color>
|
|
<SolidColorBrush x:Key="AccentFillColorDefaultBrush" Color="#177f00" />
|
|
<SolidColorBrush x:Key="AccentFillColorSecondaryBrush" Color="#1E9000" />
|
|
<SolidColorBrush x:Key="AccentFillColorTertiaryBrush" Color="#136B00" />
|
|
<SolidColorBrush x:Key="SystemControlHighlightListAccentLowBrush" Color="#177f00" />
|
|
<SolidColorBrush x:Key="SystemControlHighlightListAccentMediumBrush" Color="#1E9000" />
|
|
|
|
<GridLength x:Key="SliderPreContentMargin">6</GridLength>
|
|
<GridLength x:Key="SliderPostContentMargin">6</GridLength>
|
|
<x:Double x:Key="SliderHorizontalHeight">24</x:Double>
|
|
<x:Double x:Key="SliderHorizontalThumbWidth">12</x:Double>
|
|
<x:Double x:Key="SliderHorizontalThumbHeight">12</x:Double>
|
|
<CornerRadius x:Key="SliderThumbCornerRadius">2</CornerRadius>
|
|
<x:Double x:Key="SliderTrackThemeHeight">4</x:Double>
|
|
</Application.Resources>
|
|
</Application>
|