diff --git a/demo/Semi.Avalonia.Demo/Pages/ButtonDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/ButtonDemo.axaml index 7d96547..2974962 100644 --- a/demo/Semi.Avalonia.Demo/Pages/ButtonDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/ButtonDemo.axaml @@ -44,11 +44,6 @@ - - - - - Solid @@ -64,6 +59,16 @@ Disabled + Outline + + + + + + + + + Borderless @@ -79,6 +84,19 @@ Disabled + Disabled + + + + + + + Size Classes + + + + + DropDownButton @@ -96,9 +114,11 @@ + + @@ -119,11 +139,13 @@ - - + + + - - + + + @@ -141,6 +163,12 @@ + + + + + + diff --git a/demo/Semi.Avalonia.Demo/Pages/ListBoxDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/ListBoxDemo.axaml index ef6059e..883338c 100644 --- a/demo/Semi.Avalonia.Demo/Pages/ListBoxDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/ListBoxDemo.axaml @@ -78,8 +78,8 @@ - Small 1 - Small 2 + Large 1 + Large 2 - Small 1 - Small 2 + Large 1 + Large 2 diff --git a/demo/Semi.Avalonia.Demo/Pages/RepeatButtonDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/RepeatButtonDemo.axaml index 0f417ef..a9045c9 100644 --- a/demo/Semi.Avalonia.Demo/Pages/RepeatButtonDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/RepeatButtonDemo.axaml @@ -33,6 +33,21 @@ Disabled + Outline + + Primary + Secondary + Tertiary + Success + Warning + Danger + + Disabled + + Borderless Primary @@ -48,10 +63,18 @@ Disabled - + Disabled + + + + + + + Size Classes + Small Default Large - + \ No newline at end of file diff --git a/demo/Semi.Avalonia.Demo/Pages/ToggleButtonDemo.axaml b/demo/Semi.Avalonia.Demo/Pages/ToggleButtonDemo.axaml index d349fef..a954a7b 100644 --- a/demo/Semi.Avalonia.Demo/Pages/ToggleButtonDemo.axaml +++ b/demo/Semi.Avalonia.Demo/Pages/ToggleButtonDemo.axaml @@ -82,7 +82,14 @@ Disabled - + + + Default + Checked + Indeterminate + + + Small Default Large diff --git a/src/Semi.Avalonia/Controls/Button.axaml b/src/Semi.Avalonia/Controls/Button.axaml index 60ee4c4..0a46233 100644 --- a/src/Semi.Avalonia/Controls/Button.axaml +++ b/src/Semi.Avalonia/Controls/Button.axaml @@ -2,9 +2,9 @@ xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:CompileBindings="True"> - - - + + + @@ -48,7 +48,7 @@ - + @@ -104,9 +103,9 @@ BasedOn="{StaticResource {x:Type Button}}" TargetType="Button"> + + + + + + + + + + @@ -254,4 +285,4 @@ - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Controls/DropDownButton.axaml b/src/Semi.Avalonia/Controls/DropDownButton.axaml index b698c9e..1528e70 100644 --- a/src/Semi.Avalonia/Controls/DropDownButton.axaml +++ b/src/Semi.Avalonia/Controls/DropDownButton.axaml @@ -110,7 +110,6 @@ + + + + + + + + + + + - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Controls/RepeatButton.axaml b/src/Semi.Avalonia/Controls/RepeatButton.axaml index 88e17d2..357c94f 100644 --- a/src/Semi.Avalonia/Controls/RepeatButton.axaml +++ b/src/Semi.Avalonia/Controls/RepeatButton.axaml @@ -4,17 +4,17 @@ x:CompileBindings="True"> - - + + @@ -22,7 +22,7 @@ - + @@ -103,6 +102,16 @@ + + + + + + + + + + + + + + @@ -206,8 +247,8 @@ BasedOn="{StaticResource {x:Type RepeatButton}}" TargetType="RepeatButton"> diff --git a/src/Semi.Avalonia/Controls/SplitButton.axaml b/src/Semi.Avalonia/Controls/SplitButton.axaml index 4c31daf..027b580 100644 --- a/src/Semi.Avalonia/Controls/SplitButton.axaml +++ b/src/Semi.Avalonia/Controls/SplitButton.axaml @@ -116,7 +116,7 @@ - + - + - + + + - + @@ -301,7 +305,37 @@ + + + + + + + + + + @@ -320,4 +354,4 @@ - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Controls/ToggleButton.axaml b/src/Semi.Avalonia/Controls/ToggleButton.axaml index 8add279..730a0e8 100644 --- a/src/Semi.Avalonia/Controls/ToggleButton.axaml +++ b/src/Semi.Avalonia/Controls/ToggleButton.axaml @@ -73,6 +73,7 @@ @@ -248,12 +250,12 @@