Files
Semi.Avalonia/README.md

97 lines
3.0 KiB
Markdown
Raw Permalink Normal View History

2024-03-14 15:59:27 +08:00
# Semi Avalonia
2023-02-03 23:43:22 +08:00
[![Semi Avalonia](https://img.shields.io/nuget/v/Semi.Avalonia.svg?color=red&style=flat-square)](https://www.nuget.org/packages/Semi.Avalonia/)
[![Semi Avalonia](https://img.shields.io/nuget/dt/Semi.Avalonia.svg?style=flat-square)](https://www.nuget.org/packages/Semi.Avalonia/)
2024-12-25 20:17:24 +08:00
[![GitCode](https://gitcode.com/IRIHI_Technology/Semi.Avalonia/star/badge.svg)](https://gitcode.com/IRIHI_Technology/Semi.Avalonia)
2023-02-03 23:43:22 +08:00
2024-03-14 15:59:27 +08:00
[中文](./README_CN.md)
Avalonia Theme inspired by Semi Design
2024-07-23 14:57:21 +08:00
Semi.Avalonia can be previewed in the browser [here](https://irihitech.github.io/Semi.Avalonia/)
If you are looking for more detailed documentation, Please visit [Semi Documentation](https://docs.irihi.tech/semi/)
2024-03-14 16:03:51 +08:00
If you are looking for more customized controls, Please try [Ursa](https://github.com/irihitech/Ursa.Avalonia)
2024-03-14 15:59:27 +08:00
![Light](./docs/demo.jpg)
## How to Use
### Installation
2023-02-03 23:43:22 +08:00
```bash
dotnet add package Semi.Avalonia
2023-02-03 23:43:22 +08:00
```
2024-03-14 15:59:27 +08:00
2023-02-03 23:43:22 +08:00
Include Semi Design Styles in application:
```xaml
2024-09-10 00:10:20 +08:00
<Application
...
xmlns:semi="https://irihi.tech/semi">
<Application.Styles>
<semi:SemiTheme Locale="zh-CN" />
</Application.Styles>
</Application>
2023-02-03 23:43:22 +08:00
```
2024-03-14 15:59:27 +08:00
That's all.
2023-02-03 23:43:22 +08:00
ColorPicker, DataGrid, TreeDataGrid, Dock, Tabalonia and AvaloniaEdit are distributed in separated packages. Please install if you need.
2024-03-14 15:59:27 +08:00
2023-02-13 12:12:03 +08:00
```bash
dotnet add package Semi.Avalonia.ColorPicker
dotnet add package Semi.Avalonia.DataGrid
dotnet add package Semi.Avalonia.TreeDataGrid
dotnet add package Semi.Avalonia.Dock
dotnet add package Semi.Avalonia.Tabalonia
dotnet add package Semi.Avalonia.AvaloniaEdit
2023-02-13 12:12:03 +08:00
```
2024-03-14 15:59:27 +08:00
2023-02-13 12:12:03 +08:00
```xaml
<Application.Styles>
<semi:ColorPickerSemiTheme />
<semi:DataGridSemiTheme />
<semi:TreeDataGridSemiTheme />
<semi:DockSemiTheme />
<semi:TabaloniaSemiTheme />
<semi:AvaloniaEditSemiTheme />
2023-02-13 12:12:03 +08:00
</Application.Styles>
```
2023-02-19 18:25:44 +08:00
Notice: Dock, Tabalonia and AvaloniaEdit are delivered via nuget for free, but not open source. Please read the license and agree to continue use these packages. If you need source code, please contact us via email: [contact@irihi.tech](contact@irihi.tech)
2023-02-19 18:25:44 +08:00
## Demo
You can always download demo executable to play around with Semi Avalonia Themes.
2024-03-14 15:59:27 +08:00
<https://github.com/irihitech/Semi.Avalonia/releases>
2023-02-19 18:25:44 +08:00
2024-04-10 14:27:05 +08:00
## Support
We offer limited free community support for Semi Avalonia and Ursa. If you have any question or suggestion, feel free to raise issues and discussions via GitHub, and you are welcomed to join our group via FeiShu(Lark)
2024-04-10 14:27:05 +08:00
![FeiShu](./docs/community-support.png)
2024-04-10 14:27:05 +08:00
2023-02-03 23:43:22 +08:00
## Version compatibility
| Semi Avalonia Version | Avalonia Version |
|:----------------------|:-----------------|
| 11.3.7 | >=11.3.7 |
| 11.2.1 | >=11.2.1 |
| 11.2.0 | End of Life |
| 11.1.x | End of Life |
2023-03-27 11:38:35 +08:00
2023-03-17 20:37:23 +08:00
## Credits
[Semi Design](https://semi.design/)
[Avalonia](https://github.com/AvaloniaUI/Avalonia)
[FluentAvalonia](https://github.com/amwx/FluentAvalonia)
[Material Design Icons](https://pictogrammers.com/library/mdi/)
[CommunityToolKit](https://github.com/CommunityToolkit/dotnet)