polish home and add wallet page.
MODIFY
WalletWasabi.Fluent/App.xaml
WalletWasabi.Fluent/App.xaml
</Application.DataTemplates>
<Application.Styles>
- <StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Themes/BaseLight.xaml" />
+ <StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Themes/BaseDark.xaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Icons/Icons.xaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Styles.xaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Controls/ContentArea.axaml" />

ADD
WalletWasabi.Fluent/Styles/OptionButton.xaml
+<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+ <Style Selector="Button.option">
+ <Setter Property="Background" Value="{DynamicResource OptionButtonBackground}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource OptionButtonBorderBrush}" />
+ <Setter Property="BorderThickness" Value="0" />
+ <Setter Property="ClipToBounds" Value="False" />
+ </Style>
+
+ <!-- PointerOverState -->
+ <Style Selector="Button.option:pointerover /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="Background" Value="{DynamicResource ButtonBackgroundPointerOver}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrushPointerOver}" />
+ <Setter Property="TextBlock.Foreground" Value="{DynamicResource ButtonForegroundPointerOver}" />
+ </Style>
+
+ <Style Selector="Button.option:pressed /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="TextBlock.Foreground" Value="{DynamicResource ButtonForegroundPressed}" />
+ </Style>
+
+ <Style Selector="Button.option /template/ ContentPresenter#PART_ContentPresenter">
+ <Setter Property="CornerRadius" Value="{DynamicResource ControlCornerRadius}" />
+ <Setter Property="BoxShadow" Value="{DynamicResource OptionButtonShadow}" />
+ </Style>
+</Styles>
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Styles/Styles.xaml
WalletWasabi.Fluent/Styles/Styles.xaml
<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:sys="clr-namespace:System;assembly=netstandard"
- xmlns:local="clr-namespace:AvalonStudio.Controls.Standard.CodeEditor;assembly=AvalonStudio.Controls.Standard">
+ xmlns:sys="clr-namespace:System;assembly=netstandard">
<Styles.Resources>
<sys:Double x:Key="IconElementThemeHeight">16</sys:Double>
<sys:Double x:Key="SplitViewCollapseThreshold">750</sys:Double>
<Style Selector="TextBox:error /template/ Border#PART_BorderElement">
<Setter Property="BorderBrush" Value="{StaticResource TextControlErrorBorderBrush}" />
</Style>
+ <StyleInclude Source="avares://WalletWasabi.Fluent/Styles/OptionButton.xaml" />
</Styles>

MODIFY
WalletWasabi.Fluent/Styles/Themes/BaseDark.xaml
WalletWasabi.Fluent/Styles/Themes/BaseDark.xaml
<SolidColorBrush x:Key="InvisibleButtonPointerOverBackgroundColor">#2FFFFFFF</SolidColorBrush>
<SolidColorBrush x:Key="InvisibleButtonPressedBackgroundColor">#3FFFFFFF</SolidColorBrush>
+ <SolidColorBrush x:Key="OptionButtonBackground">#313131</SolidColorBrush>
+ <SolidColorBrush x:Key="OptionButtonBorderBrush">#7FFFFFFF</SolidColorBrush>
+
<SolidColorBrush x:Key="DialogOverlayColor">#7F2E2E2E</SolidColorBrush>
<SolidColorBrush x:Key="DialogBackground">#323232</SolidColorBrush>
<BoxShadows x:Key="DialogBoxShadow">4 11 30 1 #3F000000</BoxShadows>
<Color x:Key="RegionColor">#FF212121</Color>
<BoxShadows x:Key="BoxShadow">0 1 4 #121212</BoxShadows>
+ <BoxShadows x:Key="OptionButtonShadow">0 2 2 #121212</BoxShadows>
</Styles.Resources>
<StyleInclude Source="avares://Avalonia.Themes.Fluent/Accents/FluentDark.xaml"/>
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Themes/Base.xaml" />

MODIFY
WalletWasabi.Fluent/Styles/Themes/BaseLight.xaml
WalletWasabi.Fluent/Styles/Themes/BaseLight.xaml
<SolidColorBrush x:Key="InvisibleButtonPointerOverBackgroundColor">#2F000000</SolidColorBrush>
<SolidColorBrush x:Key="InvisibleButtonPressedBackgroundColor">#3F000000</SolidColorBrush>
+ <SolidColorBrush x:Key="OptionButtonBackground">#FFFFFF</SolidColorBrush>
+ <SolidColorBrush x:Key="OptionButtonBorderBrush">#7F000000</SolidColorBrush>
+
<SolidColorBrush x:Key="DialogOverlayColor">#7F7A7A7A</SolidColorBrush>
<SolidColorBrush x:Key="DialogBackground">#FFFFFF</SolidColorBrush>
<BoxShadows x:Key="DialogBoxShadow">4 11 30 1 #3F000000</BoxShadows>
<Color x:Key="RegionColor">#FFFAFAFA</Color>
<BoxShadows x:Key="BoxShadow">0 1 4 #D1D1D1</BoxShadows>
+ <BoxShadows x:Key="OptionButtonShadow">0 2 2 #D1D1D1</BoxShadows>
</Styles.Resources>
<StyleInclude Source="avares://Avalonia.Themes.Fluent/Accents/FluentLight.xaml"/>
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Themes/Base.xaml" />

MODIFY
WalletWasabi.Fluent/Views/AddWalletPageView.axaml
WalletWasabi.Fluent/Views/AddWalletPageView.axaml
</TextBox>
</StackPanel>
<StackPanel Spacing="10">
- <Button Classes="invisible" Padding="0">
- <Border BorderThickness="1" BorderBrush="#7F000000" CornerRadius="4" Height="70">
+ <StackPanel.Styles>
+ <Style Selector="Button">
+ <Setter Property="HorizontalAlignment" Value="Stretch" />
+ <Setter Property="BorderThickness" Value="1" />
+ <Setter Property="Padding" Value="0" />
+ </Style>
+ </StackPanel.Styles>
+ <Button Classes="option">
<StackPanel Orientation="Horizontal">
- <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource add_regular}" Width="16" VerticalAlignment="Center"/>
+ <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource add_regular}" Width="16"
+ VerticalAlignment="Center" />
<TextBlock Text="Create a new wallet" VerticalAlignment="Center" />
</StackPanel>
- </Border>
</Button>
- <Button Classes="invisible" Padding="0">
- <Border BorderThickness="1" BorderBrush="#7F000000" CornerRadius="4" Height="70">
+ <Button Classes="option">
+
<StackPanel Orientation="Horizontal">
- <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource recover_arrow_right_regular}" Width="16" VerticalAlignment="Center"/>
+ <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource recover_arrow_right_regular}"
+ Width="16" VerticalAlignment="Center" />
<TextBlock Text="Recover a wallet" VerticalAlignment="Center" />
</StackPanel>
- </Border>
+
</Button>
- <Button Classes="invisible" Padding="0">
- <Border BorderThickness="1" BorderBrush="#7F000000" CornerRadius="4" Height="70">
+ <Button Classes="option">
<StackPanel Orientation="Horizontal">
- <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource import_regular}" Width="16" VerticalAlignment="Center"/>
+ <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource import_regular}" Width="16"
+ VerticalAlignment="Center" />
<TextBlock Text="Import a wallet" VerticalAlignment="Center" />
</StackPanel>
- </Border>
</Button>
- <Button Classes="invisible" Padding="0">
- <Border BorderThickness="1" BorderBrush="#7F000000" CornerRadius="4" Height="70">
+ <Button Classes="option">
<StackPanel Orientation="Horizontal">
- <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource web_asset_regular}" Width="16" VerticalAlignment="Center"/>
+ <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource web_asset_regular}"
+ Width="16" VerticalAlignment="Center" />
<TextBlock Text="Connect to hardware wallet" VerticalAlignment="Center" />
</StackPanel>
- </Border>
</Button>
</StackPanel>
</StackPanel>

MODIFY
WalletWasabi.Fluent/Views/HomePageView.axaml
WalletWasabi.Fluent/Views/HomePageView.axaml
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
- <Button Classes="invisible" Command="{Binding OpenCommand}">
- <Border Background="White"
- BoxShadow="0 2 2 #aaaaaa"
- CornerRadius="4" Margin="8"
- Height="150" Width="150">
+ <Button Classes="option" Command="{Binding OpenCommand}" Height="150" Width="150" Margin="8">
<Panel>
<TextBlock Text="{Binding Title}" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0 0 0 15" />
- <PathIcon Width="28" Height="28" Opacity="0.8" Foreground="#212121">
+ <PathIcon Width="28" Height="28" Opacity="0.8">
<PathIcon.Data>
<Binding Converter="{x:Static conv:NavBarIconConverter.Instance}" />
</PathIcon.Data>
</PathIcon>
</Panel>
- </Border>
</Button>
</DataTemplate>
</ItemsControl.ItemTemplate>

polish home and add wallet page.