From 50c3b7cf0b6e7d7fac893944a91bffb45e8764ae Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Sun, 22 Dec 2024 15:50:47 +0800 Subject: [PATCH] feat: add preview options. --- .../Pages/HighContrastTheme.axaml | 98 ++++++++++++++++++- 1 file changed, 94 insertions(+), 4 deletions(-) diff --git a/demo/Semi.Avalonia.Demo/Pages/HighContrastTheme.axaml b/demo/Semi.Avalonia.Demo/Pages/HighContrastTheme.axaml index 01b2d1b..f22d4a1 100644 --- a/demo/Semi.Avalonia.Demo/Pages/HighContrastTheme.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/HighContrastTheme.axaml @@ -3,18 +3,108 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:vm="clr-namespace:Semi.Avalonia.Demo.Pages" - mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" + mc:Ignorable="d" d:DesignWidth="1000" d:DesignHeight="1450" x:DataType="vm:HighContrastThemeViewModel" x:Class="Semi.Avalonia.Demo.Pages.HighContrastTheme"> - + + + SelectedItem="{Binding SelectedThemeVariant}"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +