add hover shadow and border animations for Privacy suggestions
MODIFY
WalletWasabi.Fluent/Styles/Themes/BaseDark.axaml
WalletWasabi.Fluent/Styles/Themes/BaseDark.axaml
<BoxShadows x:Key="InfoBoxShadow">0 1 1.5 #3F000000</BoxShadows>
<BoxShadows x:Key="BoxShadow">0 1 4 #121212</BoxShadows>
<BoxShadows x:Key="OptionButtonShadow">0 2 2 #121212</BoxShadows>
- <BoxShadows x:Key="OptimizePrivacyOptionBoxShadow1">0 12 32 0 #33000000</BoxShadows>
+ <BoxShadows x:Key="OptimizePrivacyOptionBoxShadowHover">0 6 16 0 #33000000</BoxShadows>
+ <BoxShadows x:Key="OptimizePrivacyOptionBoxShadowSelected">0 12 32 0 #33000000</BoxShadows>
</Styles.Resources>
<StyleInclude Source="avares://Avalonia.Themes.Fluent/FluentDark.xaml" />

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/TransactionPreviewView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/TransactionPreviewView.axaml
<Setter Property="Padding" Value="15 30 15 30" />
<Setter Property="CornerRadius" Value="4" />
<Setter Property="Margin" Value="14" />
-
- <Setter Property="BorderBrush" Value="#14FFFFFF" />
+ <Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="BorderThickness" Value="1" />
- <Setter Property="Background" Value="{StaticResource OptimizePrivacyOptionSelectedColor}" />
- <Setter Property="BoxShadow" Value="{StaticResource OptimizePrivacyOptionBoxShadow1}" />
-
- <Setter Property="Opacity" Value="0" />
-
+ <Setter Property="BoxShadow" Value="0 0 0 0 #33000000" />
<Setter Property="Transitions">
<Transitions>
- <DoubleTransition Property="Opacity"
- Easing="{StaticResource FluentEasing}"
- Duration="0:0:0.25" />
+ <BoxShadowsTransition Property="BoxShadow" Duration="0:0:1" />
+ <BrushTransition Property="Background" Duration="0:0:1" />
+ <BrushTransition Property="BorderBrush" Duration="0:0:1" />
</Transitions>
</Setter>
</Style>
<Style Selector="ListBoxItem:previewitem Border#PART_DecorationBorder">
- <Setter Property="Opacity" Value="1" />
+ <Setter Property="BorderBrush" Value="#14FFFFFF" />
+ <Setter Property="Background" Value="{StaticResource OptimizePrivacyOptionSelectedColor}" />
+ <Setter Property="BoxShadow" Value="{StaticResource OptimizePrivacyOptionBoxShadowSelected}" />
+ </Style>
+
+ <Style Selector="ListBoxItem:pointerover Border#PART_DecorationBorder">
+ <Setter Property="BorderBrush" Value="#14FFFFFF" />
+ <Setter Property="BoxShadow" Value="{StaticResource OptimizePrivacyOptionBoxShadowHover}" />
</Style>
</ListBox.Styles>
<ListBox.ItemsPanel>

add hover shadow and border animations for Privacy suggestions