# adonis-ui **Repository Path**: DLGCY_Clone/adonis-ui ## Basic Information - **Project Name**: adonis-ui - **Description**: 提供经典但增强的窗体视觉效果的 WPF 轻量级 UI 工具库。Lightweight UI toolkit for WPF applications offering classic but enhanced windows visuals. (克隆自:https://github.com/benruehl/adonis-ui) - **Primary Language**: C# - **License**: MIT - **Default Branch**: master - **Homepage**: https://github.com/benruehl/adonis-ui - **GVP Project**: No ## Statistics - **Stars**: 17 - **Forks**: 5 - **Created**: 2022-03-30 - **Last Updated**: 2025-05-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: WPF ## README # ![Favicon](./resources/img/favicon-32x32.png) Adonis UI [![Build Status](https://dev.azure.com/devruehl/AdonisUI/_apis/build/status/benruehl.adonis-ui?branchName=master)](https://dev.azure.com/devruehl/AdonisUI/_build/latest?definitionId=1&branchName=master) [![NuGet version](https://img.shields.io/nuget/v/AdonisUi.ClassicTheme.svg)](https://www.nuget.org/packages/AdonisUI.ClassicTheme/) [![NuGet downloads](https://img.shields.io/nuget/dt/AdonisUi.ClassicTheme.svg)](https://www.nuget.org/packages/AdonisUI.ClassicTheme/) ![.NET Version: >= 5.0](https://img.shields.io/badge/.NET-%3E%3D%205.0-green.svg) ![.NET Core Version: >= 3.1](https://img.shields.io/badge/.NET%20Core-%3E%3D%203.1-green.svg) ![.NET Framework version: >= 4.5](https://img.shields.io/badge/.NET%20Framework-%3E%3D%204.5-green.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT) Lightweight UI toolkit for WPF applications offering classic but enhanced windows visuals ![Switching color schemes at runtime](./docs/img/adonis-demo-switch-color-schemes.gif) ## What's included - Default styles with templates for almost all 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 - Extensions for built-in controls providing features like watermarks - Few custom controls for common use cases ## Design principles 1. Stay close to WPF's original look and feel 2. Do not require any configuration but provide options for those who want to control global and individual behavior 3. Favor extension of WPF's built-in controls over creation of new ones in order to be a drop-in replacement for existing applications ## Docs - [See docs](https://benruehl.github.io/adonis-ui/docs/getting-started/introduction/) ## Getting started 1. Reference `AdonisUI` and `AdonisUI.ClassicTheme` in your WPF project. It is available via [NuGet](https://www.nuget.org/packages/AdonisUI.ClassicTheme/) or [manual download](https://github.com/benruehl/adonis-ui/releases). Currently it requires at least .NET Framework 4.5 or .NET Core 3.0. 2. Add resources to your application in your `App.xaml` like so: ```xml ``` 3. Derive your window's style from the default style of Adonis UI like so: ```xml