mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-01 22:56:34 +08:00
Add README files to NuGet packages (#677)
* Initial plan * Add README files to NuGet packages for Semi.Avalonia, Semi.Avalonia.DataGrid, and Semi.Avalonia.ColorPicker Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com> * Restore Package.props import to reduce code duplication Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com> * Add README file to Semi.Avalonia.TreeDataGrid package Co-authored-by: zdpcdt <54255897+zdpcdt@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com> Co-authored-by: zdpcdt <54255897+zdpcdt@users.noreply.github.com>
This commit is contained in:
49
src/Semi.Avalonia.ColorPicker/README.md
Normal file
49
src/Semi.Avalonia.ColorPicker/README.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# Semi.Avalonia.ColorPicker
|
||||
|
||||
[](https://www.nuget.org/packages/Semi.Avalonia/)
|
||||
|
||||
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)
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Avalonia.Controls.ColorPicker" Version="$(AvaloniaVersion)"/>
|
||||
<None Include="README.md" Pack="true" PackagePath="\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user