Skip to content

Commit

Permalink
Merge pull request kikipoulet#354 from sirdoombox/main
Browse files Browse the repository at this point in the history
Change standard flat button style to match accent.
  • Loading branch information
sirdoombox authored Dec 11, 2024
2 parents 9da3472 + 804f8f6 commit 9ce5abf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion SukiUI/Controls/BusyArea.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center"
IsHitTestVisible="False" Content="{TemplateBinding IsBusy, Converter={x:Static converters:ProgressToContentCOnverter.Instance}}"></ContentPresenter>
IsHitTestVisible="False" Content="{TemplateBinding IsBusy, Converter={x:Static converters:ProgressToContentConverter.Instance}}"></ContentPresenter>


</DockPanel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

namespace SukiUI.Converters
{
public class ProgressToContentCOnverter : IValueConverter
public class ProgressToContentConverter : IValueConverter
{
public static readonly ProgressToContentCOnverter Instance = new ProgressToContentCOnverter();
public static readonly ProgressToContentConverter Instance = new ProgressToContentConverter();


public object? Convert(object? value, Type targetType, object? parameter,
Expand Down
4 changes: 2 additions & 2 deletions SukiUI/Theme/Button.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</Transitions>
</Viewbox.Transitions>

<ContentPresenter Content="{TemplateBinding theme:ButtonExtensions.ShowProgress, Converter={x:Static suki:ProgressToContentCOnverter.Instance}}"></ContentPresenter>
<ContentPresenter Content="{TemplateBinding theme:ButtonExtensions.ShowProgress, Converter={x:Static suki:ProgressToContentConverter.Instance}}"/>

</Viewbox>
<ContentPresenter HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
Expand Down Expand Up @@ -290,7 +290,7 @@
<Style Selector="^.Flat">
<Setter Property="Padding" Value="20,8,20,8" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Background" Value="{DynamicResource SukiPrimaryColor}" />
<Setter Property="Background" Value="{DynamicResource SukiPrimaryColor75}" />
<Setter Property="Foreground" Value="White" />
<Setter Property="Transitions">
<Transitions>
Expand Down

0 comments on commit 9ce5abf

Please sign in to comment.