From ef8531d25d85ad65d116567d5233854b78047a67 Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Tue, 31 Dec 2024 13:20:23 +0800 Subject: [PATCH] misc: rearrange demo theme resources. --- demo/Semi.Avalonia.Demo/App.axaml | 9 ++++++++- demo/Semi.Avalonia.Demo/Pages/HighContrastDemo.axaml | 9 --------- demo/Semi.Avalonia.Demo/Pages/PaletteDemo.axaml | 11 ----------- .../{Controls => Themes}/ColorDetailControl.axaml | 0 .../{Controls => Themes}/ColorItemControl.axaml | 0 .../FunctionalColorGroupControl.axaml | 0 .../{Controls => Themes}/ShadowGroupControl.axaml | 0 demo/Semi.Avalonia.Demo/Themes/_index.axaml | 10 ++++++++++ demo/Semi.Avalonia.Demo/Views/MainView.axaml | 8 -------- 9 files changed, 18 insertions(+), 29 deletions(-) rename demo/Semi.Avalonia.Demo/{Controls => Themes}/ColorDetailControl.axaml (100%) rename demo/Semi.Avalonia.Demo/{Controls => Themes}/ColorItemControl.axaml (100%) rename demo/Semi.Avalonia.Demo/{Controls => Themes}/FunctionalColorGroupControl.axaml (100%) rename demo/Semi.Avalonia.Demo/{Controls => Themes}/ShadowGroupControl.axaml (100%) create mode 100644 demo/Semi.Avalonia.Demo/Themes/_index.axaml diff --git a/demo/Semi.Avalonia.Demo/App.axaml b/demo/Semi.Avalonia.Demo/App.axaml index 3de4aaa..a4b39ab 100644 --- a/demo/Semi.Avalonia.Demo/App.axaml +++ b/demo/Semi.Avalonia.Demo/App.axaml @@ -7,8 +7,15 @@ - + + + + + + + + \ No newline at end of file diff --git a/demo/Semi.Avalonia.Demo/Pages/HighContrastDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/HighContrastDemo.axaml index 55e815e..9b236df 100644 --- a/demo/Semi.Avalonia.Demo/Pages/HighContrastDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/HighContrastDemo.axaml @@ -11,15 +11,6 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/demo/Semi.Avalonia.Demo/Views/MainView.axaml b/demo/Semi.Avalonia.Demo/Views/MainView.axaml index e0ce3e4..df08ebc 100644 --- a/demo/Semi.Avalonia.Demo/Views/MainView.axaml +++ b/demo/Semi.Avalonia.Demo/Views/MainView.axaml @@ -11,14 +11,6 @@ x:CompileBindings="True" x:DataType="views:MainViewModel" mc:Ignorable="d"> - - - - - - - -