AdonisUI.ClassicTheme 1.1.0

There is a newer version of this package available.
See the version list below for details.
Install-Package AdonisUI.ClassicTheme -Version 1.1.0
dotnet add package AdonisUI.ClassicTheme --version 1.1.0
<PackageReference Include="AdonisUI.ClassicTheme" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AdonisUI.ClassicTheme --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AdonisUI.ClassicTheme, 1.1.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.ClassicTheme as a Cake Addin
#addin nuget:?package=AdonisUI.ClassicTheme&version=1.1.0

// Install AdonisUI.ClassicTheme as a Cake Tool
#tool nuget:?package=AdonisUI.ClassicTheme&version=1.1.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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (6)

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

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,207 9/5/2021
1.17.0 7,842 1/10/2021
1.16.0 5,750 6/28/2020
1.15.0 2,747 5/8/2020
1.14.0 2,207 3/8/2020
1.13.0 1,087 12/30/2019
1.12.1 789 10/15/2019
1.12.0 395 10/3/2019
1.12.0-preview2 446 8/17/2019
1.12.0-preview1 374 8/10/2019
1.11.0 928 6/23/2019
1.11.0-preview1 347 6/15/2019
1.10.0 1,136 4/16/2019
1.9.0 1,147 3/24/2019
1.8.0 528 3/10/2019
1.7.0 601 2/10/2019
1.6.0 629 1/3/2019
1.5.1 571 11/27/2018
1.5.0 498 11/22/2018
1.4.1 535 10/27/2018
1.4.0 595 10/3/2018
1.3.1 544 9/17/2018
1.3.0 546 9/16/2018
1.2.0 563 9/10/2018
1.1.0 796 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.