diff --git a/demo/Semi.Avalonia.Demo/Pages/ButtonDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/ButtonDemo.axaml index 4f94211..0ae513a 100644 --- a/demo/Semi.Avalonia.Demo/Pages/ButtonDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/ButtonDemo.axaml @@ -4,114 +4,129 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - d:DesignHeight="450" - d:DesignWidth="800" mc:Ignorable="d"> - - Light (Default) - - - - - - - - + + + Light (Default) + + + + + + + + + + + + + + + Solid + + + + + + + + + + Borderless + + + + + + + + + + DropDownButton + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - Solid - - - - - - - - - - Borderless - - - - - - - - - - DropDownButton - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/demo/Semi.Avalonia.Demo/Pages/RepeatButtonDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/RepeatButtonDemo.axaml index 5bf1e7f..65fe844 100644 --- a/demo/Semi.Avalonia.Demo/Pages/RepeatButtonDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/RepeatButtonDemo.axaml @@ -48,5 +48,10 @@ Danger + + Small + Default + Large + diff --git a/demo/Semi.Avalonia.Demo/Pages/ToggleButtonDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/ToggleButtonDemo.axaml index 5701f79..60e6019 100644 --- a/demo/Semi.Avalonia.Demo/Pages/ToggleButtonDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/ToggleButtonDemo.axaml @@ -28,18 +28,64 @@ Success Warning Danger - Danger + + Danger + - Default - Primary - Secondary - Tertiary - Success - Warning - Danger - Danger + Default + + Primary + + + Secondary + + + Tertiary + + + Success + + + Warning + + + Danger + + + Danger + + + + Small + Default + Large \ No newline at end of file diff --git a/src/Semi.Avalonia/Controls/Button.axaml b/src/Semi.Avalonia/Controls/Button.axaml index 594b759..570e7fb 100644 --- a/src/Semi.Avalonia/Controls/Button.axaml +++ b/src/Semi.Avalonia/Controls/Button.axaml @@ -8,27 +8,33 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/src/Semi.Avalonia/Controls/DropDownButton.axaml b/src/Semi.Avalonia/Controls/DropDownButton.axaml index c8bc667..6cc83ab 100644 --- a/src/Semi.Avalonia/Controls/DropDownButton.axaml +++ b/src/Semi.Avalonia/Controls/DropDownButton.axaml @@ -4,24 +4,30 @@ x:CompileBindings="True"> - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -87,9 +95,9 @@ x:Key="SolidRepeatButton" BasedOn="{StaticResource {x:Type RepeatButton}}" TargetType="RepeatButton"> - - - + + + @@ -117,12 +123,18 @@ - - + + diff --git a/src/Semi.Avalonia/Themes/Shared/Button.axaml b/src/Semi.Avalonia/Themes/Shared/Button.axaml index 0532163..5eeb288 100644 --- a/src/Semi.Avalonia/Themes/Shared/Button.axaml +++ b/src/Semi.Avalonia/Themes/Shared/Button.axaml @@ -1,10 +1,14 @@ 14 - 600 + Normal 12 6 16 10 6 2 + + 32 + 24 + 40 1 diff --git a/src/Semi.Avalonia/Themes/Shared/ToggleButton.axaml b/src/Semi.Avalonia/Themes/Shared/ToggleButton.axaml index 71237b0..d710794 100644 --- a/src/Semi.Avalonia/Themes/Shared/ToggleButton.axaml +++ b/src/Semi.Avalonia/Themes/Shared/ToggleButton.axaml @@ -1,8 +1,7 @@ 14 - 600 - - 12 6 + Normal + 1 3 \ No newline at end of file