A simple OneDark theme for Avalonia generated with Avalonia Theme Editor
The easiest way to get started is to install the library as a NuGet package:
Install-Package OneDark.Avalonia
# Or 'dotnet add package OneDark.Avalonia'
Then, reference the preffered theme from your App.xaml
file:
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="YourNamespace.App">
<Application.Styles>
<!-- Keep default theme has this thme only ovveride some styles -->
<StyleInclude Source="avares://Avalonia.Themes.Default/DefaultTheme.xaml"/>
<!-- OneDark.Avalonia theme
<StyleInclude Source="avares://OneDark.Avalonia/OneDark.xaml"/>
</Application.Styles>
</Application>
- AvaloniaUI cross-platform XAML-based GUI framework
- Avalonia Theme Editor an Avalonia UI Framework theme editor.