AdonisUI 1.0.0

There is a newer version of this package available.
See the version list below for details.
Install-Package AdonisUI -Version 1.0.0
dotnet add package AdonisUI --version 1.0.0
<PackageReference Include="AdonisUI" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AdonisUI --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AdonisUI, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AdonisUI as a Cake Addin
#addin nuget:?package=AdonisUI&version=1.0.0

// Install AdonisUI as a Cake Tool
#tool nuget:?package=AdonisUI&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

AdonisUI 💪

Lightweight UI toolkit for WPF applications offering classic but enhanced windows visuals

Light color scheme overview Dark color scheme overview

What's included

  • Default styles with templates for most common WPF controls
  • Additional styles for convenience that can be used as required
  • Two color schemes (light and dark) that can be used in custom styles as well
  • Support for changing the color scheme at runtime
  • Support for additional custom color schemes
  • Few custom controls for common use cases

Getting started

  1. Reference AdonisUI and AdonisUI.ClassicTheme
  2. Add resources to your application in your App.xaml like so:
<Application xmlns:adonisUi="clr-namespace:AdonisUI;assembly=AdonisUI">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="{x:Static adonisUi:ResourceLocator.LightColorScheme}"/>
                <ResourceDictionary Source="{x:Static adonisUi:ResourceLocator.ClassicTheme}"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>
  1. Derive your window's style from the default style of AdonisUI like so:
<Window.Style>
    <Style TargetType="Window" BasedOn="{StaticResource {x:Type Window}}"/>
</Window.Style>

Concepts

ComponentResourceKeys

Resources that are provided by AdonisUI have a ComponentResourceKey assigned to make use of them in a simple way. Resources exist in the categories Colors, Brushes, Dimensions and Styles. The foreground brush of the current color scheme for example can be used by referring to its resource key like Foreground="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}". ComponentResourceKeys allow auto-completion with IntelliSense which comes in handy when exploring the available resources.

Layers

WIP

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AdonisUI:

Package Downloads
AdonisUI.ClassicTheme

Styles implementing AdonisUI's theme definitions to provide classic look and feel.

GitHub repositories (6)

Showing the top 5 popular GitHub repositories that depend on AdonisUI:

Repository Stars
KirillOsenkov/MSBuildStructuredLog
A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.
iAmAsval/FModel
Software for exploring UE4-5 games' files
WolvenKit/WolvenKit
Mod editor/creator for RED Engine games. The point is to have an all in one tool for creating mods for the games made with the engine.
overtools/OWLib
Series of programs (tools) to interact with the Overwatch files.
chenxuuu/llcom
🛠可运行lua脚本辅助调试的串口调试助手Serial debugger, with lua scripts.
Version Downloads Last updated
1.17.1 1,342 9/5/2021
1.17.0 8,000 1/10/2021
1.16.0 5,904 6/28/2020
1.15.0 2,780 5/8/2020
1.14.0 2,304 3/8/2020
1.13.0 1,157 12/30/2019
1.12.1 852 10/15/2019
1.12.0 465 10/3/2019
1.12.0-preview2 578 8/17/2019
1.12.0-preview1 481 8/10/2019
1.11.0 1,105 6/23/2019
1.11.0-preview1 480 6/15/2019
1.10.0 1,319 4/16/2019
1.9.0 1,292 3/24/2019
1.8.0 655 3/10/2019
1.7.0 742 2/10/2019
1.6.0 755 1/3/2019
1.5.1 747 11/27/2018
1.5.0 641 11/22/2018
1.4.1 679 10/27/2018
1.4.0 742 10/3/2018
1.2.0 686 9/16/2018
1.1.0 721 9/10/2018
1.0.0 1,016 6/2/2018

First release of this library. It provides two color schemes, usage of component resource keys, base styles for many WPF controls and a basic layering system.