wider migration from old starter

This commit is contained in:
maj00r
2026-08-30 22:29:45 +02:00
parent c7853f6588
commit 563a937eb9
44 changed files with 6076 additions and 1457 deletions

View File

@@ -5,18 +5,12 @@
x:Class="StarterNG.App"
x:CompileBindings="True"
RequestedThemeVariant="Dark">
<!-- Dark variant matches the original Starter's "Carbon" VCL style. -->
<Application.Styles>
<FluentTheme />
<materialIcons:MaterialIconStyles />
<StyleInclude Source="avares://Starter/Styles/Carbon.axaml" />
<!-- Extending the client area (MainWindow) makes Avalonia 12 draw an extra
full-screen toggle in the window chrome. The chrome lives in its own host
(not the window's visual tree), so it is hidden here, globally, by the
decoration role Avalonia tags it with. Standard minimise / maximise /
close are left untouched. -->
<Style Selector="Button[(chrome|WindowDecorationProperties.ElementRole)=FullScreenButton]">
<Setter Property="IsVisible" Value="False" />
</Style>
@@ -24,9 +18,6 @@
<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"/>
<!-- Override the system accent (the OS accent can be red) so every
accent-driven element - list/tree selection, checkboxes,
sliders - uses the MaSzyna green instead. -->
<Color x:Key="SystemAccentColor">#177f00</Color>
<Color x:Key="SystemAccentColorDark1">#136B00</Color>
<Color x:Key="SystemAccentColorDark2">#0F5600</Color>
@@ -39,5 +30,13 @@
<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>