Extract background & final touches
ADD
WalletWasabi.Fluent/Views/Shell/BackgroundView.axaml
+<UserControl xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+ x:Class="WalletWasabi.Fluent.Views.Shell.BackgroundView">
+ <Panel x:Name="Background" IsHitTestVisible="False">
+ <ExperimentalAcrylicBorder>
+ <ExperimentalAcrylicBorder.Material>
+ <ExperimentalAcrylicMaterial BackgroundSource="Digger"
+ TintColor="Transparent"
+ TintOpacity="0"
+ FallbackColor="{DynamicResource AcrylicTrimBackground}"
+ MaterialOpacity="0" />
+ </ExperimentalAcrylicBorder.Material>
+ </ExperimentalAcrylicBorder>
+ <Panel Background="{DynamicResource AcrylicTrimBackground}" />
+ </Panel>
+</UserControl>
\ No newline at end of file

ADD
WalletWasabi.Fluent/Views/Shell/BackgroundView.axaml.cs
+using Avalonia;
+using Avalonia.Controls;
+using Avalonia.Markup.Xaml;
+
+namespace WalletWasabi.Fluent.Views.Shell;
+public partial class BackgroundView : UserControl
+{
+ public BackgroundView()
+ {
+ InitializeComponent();
+ }
+
+ private void InitializeComponent()
+ {
+ AvaloniaXamlLoader.Load(this);
+ }
+}

MODIFY
WalletWasabi.Fluent/Views/Shell/DialogsView.axaml
WalletWasabi.Fluent/Views/Shell/DialogsView.axaml
x:CompileBindings="False"
x:Class="WalletWasabi.Fluent.Views.Shell.DialogsView">
<Panel>
- <ExperimentalAcrylicBorder IsHitTestVisible="False" IsVisible="{Binding IsOobeBackgroundVisible, FallbackValue=False}">
+ <ExperimentalAcrylicBorder x:Name="OobeBackground" IsHitTestVisible="False" IsVisible="{Binding IsOobeBackgroundVisible, FallbackValue=False}">
<ExperimentalAcrylicBorder.Material>
<ExperimentalAcrylicMaterial BackgroundSource="Digger"
TintColor="{DynamicResource SystemAltHighColor}"

MODIFY
WalletWasabi.Fluent/Views/Shell/ShellView.axaml
WalletWasabi.Fluent/Views/Shell/ShellView.axaml
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:c="using:WalletWasabi.Fluent.Controls"
xmlns:vm="using:WalletWasabi.Fluent.ViewModels"
- xmlns:views="clr-namespace:WalletWasabi.Fluent.Views"
xmlns:shell="clr-namespace:WalletWasabi.Fluent.Views.Shell"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="459"
x:DataType="vm:MainViewModel"
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Shell.ShellView">
<Panel>
- <Panel x:Name="Background" IsHitTestVisible="False">
- <ExperimentalAcrylicBorder>
- <ExperimentalAcrylicBorder.Material>
- <ExperimentalAcrylicMaterial BackgroundSource="Digger"
- TintColor="Transparent"
- TintOpacity="0"
- FallbackColor="{DynamicResource AcrylicTrimBackground}"
- MaterialOpacity="0" />
- </ExperimentalAcrylicBorder.Material>
- </ExperimentalAcrylicBorder>
- <Panel Background="{DynamicResource AcrylicTrimBackground}" />
- </Panel>
+ <shell:BackgroundView />
<shell:MainView x:CompileBindings="False" IsHitTestVisible="{Binding $parent.DataContext.IsMainContentEnabled, FallbackValue=True}" />
<c:AdornerCanvas HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
<shell:DialogsView />

Extract background & final touches