Files
Commonwealth-Online-Server/host/App.axaml
T
NomadsReach 1f01e68794 Add Avalonia server-host launcher (MVP scaffold)
Cross-platform C# GUI to replace the Qt/C++ Host GUI, on the same dotnet
toolchain as the server. MVP: load/save commonwealth-server.json, Start/Stop
the CommonwealthOnline.Server process (published exe, then dll, then source
run), and stream its output to a live log. Themed to the Commonwealth Online
brand (near-black + amber). Builds clean on net8.0.

Next: player list + kick/ban via the admin port, then retire the Qt host.
2026-08-16 18:15:40 -04:00

26 lines
1.0 KiB
XML

<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="CommonwealthOnline.Host.App"
RequestedThemeVariant="Dark">
<Application.Styles>
<FluentTheme />
</Application.Styles>
<Application.Resources>
<ResourceDictionary>
<Color x:Key="CoBackground">#0E120B</Color>
<Color x:Key="CoSurface">#171C10</Color>
<Color x:Key="CoAccent">#E6D28C</Color>
<Color x:Key="CoText">#D8D2BE</Color>
<Color x:Key="CoDanger">#C24B4B</Color>
<SolidColorBrush x:Key="CoBackgroundBrush" Color="{StaticResource CoBackground}" />
<SolidColorBrush x:Key="CoSurfaceBrush" Color="{StaticResource CoSurface}" />
<SolidColorBrush x:Key="CoAccentBrush" Color="{StaticResource CoAccent}" />
<SolidColorBrush x:Key="CoTextBrush" Color="{StaticResource CoText}" />
<SolidColorBrush x:Key="CoDangerBrush" Color="{StaticResource CoDanger}" />
</ResourceDictionary>
</Application.Resources>
</Application>