From 77ee768962b829bb76fd264cf136f7ea9f1c9f90 Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Wed, 23 Apr 2025 21:30:04 +0800 Subject: [PATCH] feat: update README to use SemiTheme components for ColorPicker, DataGrid, and TreeDataGrid. --- README.md | 6 +++--- README_CN.md | 6 +++--- demo/Semi.Avalonia.Demo/App.axaml | 5 +---- demo/Semi.Avalonia.Demo/Pages/Overview.axaml.cs | 8 +++----- 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index a831b75..68a9ba1 100644 --- a/README.md +++ b/README.md @@ -48,9 +48,9 @@ dotnet add package Semi.Avalonia.TreeDataGrid ```xaml - - - + + + ``` diff --git a/README_CN.md b/README_CN.md index 7033b88..ce4ac0a 100644 --- a/README_CN.md +++ b/README_CN.md @@ -48,9 +48,9 @@ dotnet add package Semi.Avalonia.TreeDataGrid ```xaml - - - + + + ``` diff --git a/demo/Semi.Avalonia.Demo/App.axaml b/demo/Semi.Avalonia.Demo/App.axaml index 168ed28..8ef2cca 100644 --- a/demo/Semi.Avalonia.Demo/App.axaml +++ b/demo/Semi.Avalonia.Demo/App.axaml @@ -7,8 +7,6 @@ xmlns:semi="https://irihi.tech/semi" xmlns:viewModels="clr-namespace:Semi.Avalonia.Demo.ViewModels"> - - @@ -18,8 +16,7 @@ - + diff --git a/demo/Semi.Avalonia.Demo/Pages/Overview.axaml.cs b/demo/Semi.Avalonia.Demo/Pages/Overview.axaml.cs index 2f43e32..c8b89e3 100644 --- a/demo/Semi.Avalonia.Demo/Pages/Overview.axaml.cs +++ b/demo/Semi.Avalonia.Demo/Pages/Overview.axaml.cs @@ -14,8 +14,6 @@ public partial class Overview : UserControl public string MainStyle { get; set; } = """ - - """; @@ -25,7 +23,7 @@ public partial class Overview : UserControl public string ColorPickerStyle { get; set; } = """ - + """; @@ -34,7 +32,7 @@ public partial class Overview : UserControl public string DataGridStyle { get; set; } = """ - + """; @@ -43,7 +41,7 @@ public partial class Overview : UserControl public string TreeDataGridStyle { get; set; } = """ - + """; } \ No newline at end of file