separate ActionButton style
ADD
WalletWasabi.Fluent/Styles/ActionButton.xaml
+<Styles xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+ <Style Selector="Button.action /template/ ContentPresenter">
+ <Setter Property="Background" Value="{StaticResource ActionButtonBackgroundColor}" />
+ <Setter Property="Padding" Value="{StaticResource ActionButtonPadding}" />
+ <Setter Property="TextBlock.Foreground" Value="{StaticResource ActionButtonForegroundColor}" />
+ </Style>
+ <Style Selector="Button.action:pointerover /template/ ContentPresenter">
+ <Setter Property="Background" Value="{StaticResource ActionButtonPointerOverBackgroundColor}" />
+ </Style>
+ <Style Selector="Button.action:pressed /template/ ContentPresenter">
+ <Setter Property="Background" Value="{StaticResource ActionButtonPressedBackgroundColor}" />
+ </Style>
+ <Style Selector="Button.action:disabled /template/ ContentPresenter">
+ <Setter Property="Background" Value="{StaticResource ActionButtonDisabledBackgroundColor}" />
+ </Style>
+</Styles>
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Styles/OptionButton.xaml
WalletWasabi.Fluent/Styles/OptionButton.xaml
-<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+<Styles xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style Selector="Button.option">
<Setter Property="Background" Value="{DynamicResource OptionButtonBackground}" />
<Setter Property="BorderBrush" Value="{DynamicResource OptionButtonBorderBrush}" />

MODIFY
WalletWasabi.Fluent/Styles/Styles.xaml
WalletWasabi.Fluent/Styles/Styles.xaml
<Setter Property="Background" Value="{DynamicResource InvisibleButtonPressedBackgroundColor}" />
</Style>
- <!--Action button style-->
- <Style Selector="Button.action /template/ ContentPresenter">
- <Setter Property="Background" Value="{StaticResource ActionButtonBackgroundColor}" />
- <Setter Property="Padding" Value="{StaticResource ActionButtonPadding}" />
- <Setter Property="TextBlock.Foreground" Value="{StaticResource ActionButtonForegroundColor}" />
- </Style>
- <Style Selector="Button.action:pointerover /template/ ContentPresenter">
- <Setter Property="Background" Value="{StaticResource ActionButtonPointerOverBackgroundColor}" />
- </Style>
- <Style Selector="Button.action:pressed /template/ ContentPresenter">
- <Setter Property="Background" Value="{StaticResource ActionButtonPressedBackgroundColor}" />
- </Style>
- <Style Selector="Button.action:disabled /template/ ContentPresenter">
- <Setter Property="Background" Value="{StaticResource ActionButtonDisabledBackgroundColor}" />
- </Style>
-
<!--TextBox style-->
<Style Selector="TextBox /template/ Border#PART_BorderElement">
<Setter Property="CornerRadius" Value="0" />
</Style>
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/OptionButton.xaml" />
+ <StyleInclude Source="avares://WalletWasabi.Fluent/Styles/ActionButton.xaml" />
</Styles>
\ No newline at end of file

separate ActionButton style