add flashing animation on datagrid select
MODIFY
WalletWasabi.Fluent/Styles/DataGrid.axaml
WalletWasabi.Fluent/Styles/DataGrid.axaml
<Style Selector="DataGridRow:pointerover /template/ Rectangle#BackgroundRectangle">
<Setter Property="Fill" Value="{DynamicResource DataGridRowSelectedBackgroundColor}" />
</Style>
- <Style Selector="DataGridRow:selected /template/ Border#PART_SelectionIndicator">
- <Setter Property="BorderBrush" Value="{DynamicResource DataGridRowIndicatorBrush}" />
+ <Style Selector="DataGridRow:selected /template/ Rectangle#BackgroundRectangle">
+ <Style.Animations>
+ <Animation Duration="1.25" Easing="BounceEasing">
+ <KeyFrame KeyTime="0:0:0.0">
+ <Setter Property="Fill" Value="LightGreen" />
+ </KeyFrame>
+ <KeyFrame KeyTime="0:0:0.25">
+ <Setter Property="Fill" Value="Transparent" />
+ </KeyFrame>
+ <KeyFrame KeyTime="0:0:0.50">
+ <Setter Property="Fill" Value="LightGreen" />
+ </KeyFrame>
+ <KeyFrame KeyTime="0:0:0.75">
+ <Setter Property="Fill" Value="Transparent" />
+ </KeyFrame>
+ <KeyFrame KeyTime="0:0:1">
+ <Setter Property="Fill" Value="LightGreen" />
+ </KeyFrame>
+ <KeyFrame KeyTime="0:0:1.25">
+ <Setter Property="Fill" Value="Transparent" />
+ </KeyFrame>
+ </Animation>
+ </Style.Animations>
</Style>
<Style Selector="DataGridRow /template/ Border#PART_SelectionIndicator">
<Setter Property="BorderBrush" Value="Transparent" />

add flashing animation on datagrid select