prepare for dark/light style
MODIFY
WalletWasabi.Fluent/Styles/DataGrid.axaml
WalletWasabi.Fluent/Styles/DataGrid.axaml
<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
- <Styles.Resources>
- <SolidColorBrush x:Key="DataGridColumnHeaderBackgroundBrush" Color="Transparent"/>
- <SolidColorBrush x:Key="DataGridCellFocusVisualPrimaryBrush" Color="Transparent"/>
- <SolidColorBrush x:Key="DataGridCellFocusVisualSecondaryBrush" Color="Transparent"/>
-
- <SolidColorBrush x:Key="DataGridRowSelectedBackgroundColor" Color="#1C1C1C"/>
- <SolidColorBrush x:Key="DataGridRowSelectedHoveredBackgroundColor" Color="Transparent"/>
- <SolidColorBrush x:Key="DataGridRowSelectedUnfocusedBackgroundColor" Color="#1C1C1C"/>
- <SolidColorBrush x:Key="DataGridRowSelectedHoveredUnfocusedBackgroundColor" Color="Transparent"/>
-
- <x:Double x:Key="DataGridRowSelectedBackgroundOpacity">1.0</x:Double>
- <!-- <x:Double x:Key="DataGridRowSelectedHoveredBackgroundOpacity">0.5</x:Double> -->
- <x:Double x:Key="DataGridRowSelectedUnfocusedBackgroundOpacity">1.0</x:Double>
- <!-- <x:Double x:Key="DataGridRowSelectedHoveredUnfocusedBackgroundOpacity">0.5</x:Double> -->
-
- </Styles.Resources>
- <StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml" />
<Style Selector="DataGrid">
<Setter Property="GridLinesVisibility" Value="Horizontal"/>

MODIFY
WalletWasabi.Fluent/Styles/Themes/Base.axaml
WalletWasabi.Fluent/Styles/Themes/Base.axaml
<SolidColorBrush x:Key="WarningMessageForeground">#FFDD00</SolidColorBrush>
<StaticResource x:Key="SystemControlErrorTextForegroundBrush" ResourceKey="SystemErrorTextColor" />
<SolidColorBrush x:Key="HyperLinkForeground">#00A2E8</SolidColorBrush>
+
+ <SolidColorBrush x:Key="DataGridColumnHeaderBackgroundBrush" Color="Transparent" />
+ <SolidColorBrush x:Key="DataGridCellFocusVisualPrimaryBrush" Color="Transparent" />
+ <SolidColorBrush x:Key="DataGridCellFocusVisualSecondaryBrush" Color="Transparent" />
+ <SolidColorBrush x:Key="DataGridRowSelectedHoveredBackgroundColor" Color="Transparent" />
+ <SolidColorBrush x:Key="DataGridRowSelectedHoveredUnfocusedBackgroundColor" Color="Transparent" />
+
+ <x:Double x:Key="DataGridRowSelectedBackgroundOpacity">1.0</x:Double>
+ <x:Double x:Key="DataGridRowSelectedUnfocusedBackgroundOpacity">1.0</x:Double>
</Styles.Resources>
</Styles>

MODIFY
WalletWasabi.Fluent/Styles/Themes/BaseDark.axaml
WalletWasabi.Fluent/Styles/Themes/BaseDark.axaml
<GradientStop Color="#86DF18" Offset="1"/>
</RadialGradientBrush.GradientStops>
</RadialGradientBrush>
+
+ <SolidColorBrush x:Key="DataGridRowSelectedBackgroundColor" Color="#1C1C1C" />
+ <SolidColorBrush x:Key="DataGridRowSelectedUnfocusedBackgroundColor" Color="#1C1C1C" />
</Styles.Resources>
<StyleInclude Source="avares://Avalonia.Themes.Fluent/FluentDark.xaml"/>
+ <StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml" /> <!-- Needs to be here because of dependency reason -->
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Themes/Base.axaml" />
</Styles>

MODIFY
WalletWasabi.Fluent/Styles/Themes/BaseLight.axaml
WalletWasabi.Fluent/Styles/Themes/BaseLight.axaml
<GradientStop Color="#55A94E" Offset="1"/>
</RadialGradientBrush.GradientStops>
</RadialGradientBrush>
+
+ <SolidColorBrush x:Key="DataGridRowSelectedBackgroundColor" Color="#1C1C1C" />
+ <SolidColorBrush x:Key="DataGridRowSelectedUnfocusedBackgroundColor" Color="#1C1C1C" />
</Styles.Resources>
<StyleInclude Source="avares://Avalonia.Themes.Fluent/FluentLight.xaml"/>
+ <StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml" /> <!-- Needs to be here because of dependency reason -->
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Themes/Base.axaml" />
</Styles>

prepare for dark/light style