UnityTheme.Avalonia 1.0.5

dotnet add package UnityTheme.Avalonia --version 1.0.5
                    
NuGet\Install-Package UnityTheme.Avalonia -Version 1.0.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="UnityTheme.Avalonia" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="UnityTheme.Avalonia" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="UnityTheme.Avalonia" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add UnityTheme.Avalonia --version 1.0.5
                    
#r "nuget: UnityTheme.Avalonia, 1.0.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package UnityTheme.Avalonia@1.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=UnityTheme.Avalonia&version=1.0.5
                    
Install as a Cake Addin
#tool nuget:?package=UnityTheme.Avalonia&version=1.0.5
                    
Install as a Cake Tool

UnityTheme.Avalonia

Avalonia theme that looks like the Unity Editor — dark, compact, high density. No FluentTheme dependency.

License Avalonia .NET

Try it

Online gallery (WASM): 0use.net/UnityTheme.Avalonia

Run locally:

# Desktop — .NET 8
dotnet run --project samples/UnityTheme.Gallery.Desktop

# Browser — .NET 10 + wasm-tools
dotnet workload install wasm-tools
dotnet run --project samples/UnityTheme.Gallery.Browser

Use in your app

1. Install

dotnet add package UnityTheme.Avalonia

2. Apply theme

App.axaml:

<Application xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:unity="using:UnityTheme.Avalonia"
             x:Class="YourApp.App"
             RequestedThemeVariant="Dark">
  <Application.Styles>
    <unity:UnityTheme />
  </Application.Styles>
</Application>

Switch light/dark at runtime:

Application.Current!.RequestedThemeVariant = ThemeVariant.Light;
// or ThemeVariant.Dark

3. Use theme brushes (optional)

<Border Background="{DynamicResource UnityPanelBackgroundBrush}"
        BorderBrush="{DynamicResource UnityBorderBrush}" />

Handy brushes:

Resource Dark Use for
UnityPanelBackgroundBrush #282828 Panels, lists
UnityInputBackgroundBrush #191919 Text fields
UnityToolbarBackgroundBrush #3C3C3C Toolbars
UnitySelectionBrush #2C5D87 Selection
HighlightBrush #478BF5 Accent, focus

What's in the box

  • Unity Pro colors, 12px font, 20px controls, 1px corners
  • 28+ core controls styled (Button, TextBox, ListBox, TabControl, DatePicker, SplitView, …)
  • Light / dark via RequestedThemeVariant
  • Only depends on the core Avalonia package

ColorPicker, DataGrid, TreeDataGrid etc. are not included.

Repo layout

src/UnityTheme.Avalonia/          Theme library (net8.0)
samples/UnityTheme.Gallery/       Gallery UI
samples/UnityTheme.Gallery.Desktop/   Desktop app (net8.0)
samples/UnityTheme.Gallery.Browser/   WASM app (net10.0-browser)

Browser sample needs .NET 10 because Avalonia 12's Browser package does. The theme itself doesn't.

Build

dotnet build UnityTheme.Avalonia.slnx

Pack (NuGet)

dotnet pack src/UnityTheme.Avalonia/UnityTheme.Avalonia.csproj -c Release -o package

Output: package/UnityTheme.Avalonia.1.0.0.nupkg

License

MIT — see LICENSE.

Control templates started from Avalonia.Themes.Simple.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 111 6/20/2026
1.0.4 109 6/20/2026
1.0.3 117 6/19/2026
1.0.2 103 6/19/2026
1.0.1 112 6/19/2026
1.0.0 104 6/19/2026

Initial release. Unity Pro palette, 28+ styled core controls, light/dark support.