Use Is selector
MODIFY
WalletWasabi.Fluent/Views/Login/LoginView.axaml
WalletWasabi.Fluent/Views/Login/LoginView.axaml
VerticalAlignment="Center"
LastChildFill="True">
<DockPanel.Styles>
- <Style Selector="DockPanel.fadeAnimation[IsVisible=true]">
+ <Style Selector=":is(Panel).fadeAnimation[IsVisible=true]">
<Setter Property="Opacity" Value="1"/>
</Style>
- <Style Selector="DockPanel.fadeAnimation[IsVisible=False]">
+ <Style Selector=":is(Panel).fadeAnimation[IsVisible=False]">
<Setter Property="Opacity" Value="0"/>
</Style>
- <Style Selector="DockPanel.fadeAnimation">
- <Setter Property="Transitions">
- <Transitions>
- <DoubleTransition Property="Opacity" Duration="0:0:0.2"/>
- </Transitions>
- </Setter>
- </Style>
- <Style Selector="StackPanel.fadeAnimation[IsVisible=true]">
- <Setter Property="Opacity" Value="1"/>
- </Style>
- <Style Selector="StackPanel.fadeAnimation[IsVisible=False]">
- <Setter Property="Opacity" Value="0"/>
- </Style>
- <Style Selector="StackPanel.fadeAnimation">
+ <Style Selector=":is(Panel).fadeAnimation">
<Setter Property="Transitions">
<Transitions>
<DoubleTransition Property="Opacity" Duration="0:0:0.2"/>

Use Is selector