From cafd47f3342d199a0703fcc7bf459a3fd5bf071c Mon Sep 17 00:00:00 2001 From: rabbitism Date: Fri, 23 Feb 2024 19:39:39 +0800 Subject: [PATCH] feat: add backward compatibility. --- demo/Semi.Avalonia.Demo/App.axaml | 3 +++ src/Semi.Avalonia/Themes/Index.axaml | 2 +- src/Semi.Avalonia/Themes/SemiTheme.axaml | 19 +++++++++++++++++++ .../{Index.axaml.cs => SemiTheme.axaml.cs} | 0 4 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 src/Semi.Avalonia/Themes/SemiTheme.axaml rename src/Semi.Avalonia/Themes/{Index.axaml.cs => SemiTheme.axaml.cs} (100%) diff --git a/demo/Semi.Avalonia.Demo/App.axaml b/demo/Semi.Avalonia.Demo/App.axaml index f63be9d..3735cfb 100644 --- a/demo/Semi.Avalonia.Demo/App.axaml +++ b/demo/Semi.Avalonia.Demo/App.axaml @@ -4,6 +4,9 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:semi="https://irihi.tech/semi"> + diff --git a/src/Semi.Avalonia/Themes/Index.axaml b/src/Semi.Avalonia/Themes/Index.axaml index 1b36b00..701f381 100644 --- a/src/Semi.Avalonia/Themes/Index.axaml +++ b/src/Semi.Avalonia/Themes/Index.axaml @@ -1,4 +1,4 @@ - + diff --git a/src/Semi.Avalonia/Themes/SemiTheme.axaml b/src/Semi.Avalonia/Themes/SemiTheme.axaml new file mode 100644 index 0000000..1b36b00 --- /dev/null +++ b/src/Semi.Avalonia/Themes/SemiTheme.axaml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + diff --git a/src/Semi.Avalonia/Themes/Index.axaml.cs b/src/Semi.Avalonia/Themes/SemiTheme.axaml.cs similarity index 100% rename from src/Semi.Avalonia/Themes/Index.axaml.cs rename to src/Semi.Avalonia/Themes/SemiTheme.axaml.cs