Skip to content

bigjimlefou/OneDark.Avalonia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OneDark.Avalonia

A simple OneDark theme for Avalonia generated with Avalonia Theme Editor

Getting Started

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>

Technologies and Tools Used

About

OneDark.Avalonia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published