2025-10-09 19:47:10 +08:00
|
|
|
# Semi.Avalonia.ColorPicker
|
|
|
|
|
|
2025-10-09 19:54:35 +08:00
|
|
|
[](https://www.nuget.org/packages/Semi.Avalonia.ColorPicker/)
|
|
|
|
|
[](https://www.nuget.org/packages/Semi.Avalonia.ColorPicker/)
|
2025-10-09 19:47:10 +08:00
|
|
|
|
|
|
|
|
Avalonia ColorPicker Theme inspired by Semi Design
|
|
|
|
|
|
|
|
|
|
This package provides Semi Design theming for the Avalonia ColorPicker control.
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
dotnet add package Semi.Avalonia.ColorPicker
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
|
|
This package requires the main Semi.Avalonia theme to be installed:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
dotnet add package Semi.Avalonia
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
Include the ColorPicker theme in your application:
|
|
|
|
|
|
|
|
|
|
```xaml
|
|
|
|
|
<Application
|
|
|
|
|
...
|
|
|
|
|
xmlns:semi="https://irihi.tech/semi">
|
|
|
|
|
<Application.Styles>
|
|
|
|
|
<semi:SemiTheme Locale="zh-CN" />
|
|
|
|
|
<semi:ColorPickerSemiTheme />
|
|
|
|
|
</Application.Styles>
|
|
|
|
|
</Application>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Resources
|
|
|
|
|
|
|
|
|
|
- [Documentation](https://docs.irihi.tech/semi/)
|
|
|
|
|
- [Repository](https://github.com/irihitech/Semi.Avalonia)
|
|
|
|
|
- [Online Demo](https://irihitech.github.io/Semi.Avalonia/)
|
|
|
|
|
- [Download Demo](https://github.com/irihitech/Semi.Avalonia/releases)
|
|
|
|
|
|
|
|
|
|
## Credits
|
|
|
|
|
|
|
|
|
|
[Semi Design](https://semi.design/)
|
|
|
|
|
|
|
|
|
|
[Avalonia](https://github.com/AvaloniaUI/Avalonia)
|