keep all button styles that didnt need its own template together.
MODIFY
WalletWasabi.Fluent/Styles/Button.axaml
WalletWasabi.Fluent/Styles/Button.axaml
<Styles.Resources>
<Thickness x:Key="ActionButtonPadding">20,10</Thickness>
+ <Thickness x:Key="InvisibleButtonPadding">20,10</Thickness>
</Styles.Resources>
<Style Selector="Button.action /template/ ContentPresenter">
<Style Selector="Button.function PathIcon">
<Setter Property="Foreground" Value="{DynamicResource SystemAccentColor}" />
</Style>
+
+ <Style Selector="Button.invisible">
+ <Setter Property="Padding" Value="{StaticResource InvisibleButtonPadding}" />
+ <Setter Property="Cursor" Value="Hand" />
+ </Style>
+ <Style Selector="Button.invisible /template/ ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource InvisibleButtonBackgroundColor}" />
+ </Style>
+ <Style Selector="Button.invisible:pointerover /template/ ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource InvisibleButtonPointerOverBackgroundColor}" />
+ </Style>
+ <Style Selector="Button.invisible:pressed /template/ ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource InvisibleButtonPressedBackgroundColor}" />
+ </Style>
</Styles>

DELETE
WalletWasabi.Fluent/Styles/InvisibleButton.axaml
-<Styles xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
- <Styles.Resources>
- <Thickness x:Key="InvisibleButtonPadding">20,10</Thickness>
- </Styles.Resources>
- <Style Selector="Button.invisible">
- <Setter Property="VerticalAlignment" Value="Stretch" />
- <Setter Property="HorizontalAlignment" Value="Stretch" />
- <Setter Property="Padding" Value="{StaticResource InvisibleButtonPadding}" />
- <Setter Property="Cursor" Value="Hand" />
- </Style>
- <Style Selector="Button.invisible /template/ ContentPresenter">
- <Setter Property="Background" Value="{DynamicResource InvisibleButtonBackgroundColor}" />
- </Style>
- <Style Selector="Button.invisible:pointerover /template/ ContentPresenter">
- <Setter Property="Background" Value="{DynamicResource InvisibleButtonPointerOverBackgroundColor}" />
- </Style>
- <Style Selector="Button.invisible:pressed /template/ ContentPresenter">
- <Setter Property="Background" Value="{DynamicResource InvisibleButtonPressedBackgroundColor}" />
- </Style>
-</Styles>
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Styles/Styles.axaml
WalletWasabi.Fluent/Styles/Styles.axaml
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Checkmark.axaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/FontSizes.axaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/IconButton.axaml" />
- <StyleInclude Source="avares://WalletWasabi.Fluent/Styles/InvisibleButton.axaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Label.axaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/OptionButton.axaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Separator.axaml" />

keep all button styles that didnt need its own template together.