separate fontsizes and splitview
ADD
WalletWasabi.Fluent/Styles/FontSizes.xaml
+<Styles xmlns="https://github.com/avaloniaui"
+ xmlns:sys="clr-namespace:System;assembly=netstandard"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+ <Styles.Resources>
+ <sys:Double x:Key="FontSizeH1">36</sys:Double>
+ <sys:Double x:Key="FontSizeH2">30</sys:Double>
+ <sys:Double x:Key="FontSizeH3">24</sys:Double>
+ <sys:Double x:Key="FontSizeH4">20</sys:Double>
+ <sys:Double x:Key="FontSizeH5">18</sys:Double>
+ <sys:Double x:Key="FontSizeH6">16</sys:Double>
+ <sys:Double x:Key="FontSizeH7">14</sys:Double>
+ <sys:Double x:Key="FontSizeH8">12</sys:Double>
+ </Styles.Resources>
+
+ <Style Selector=":is(Control).h1">
+ <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH1}" />
+ </Style>
+ <Style Selector=":is(Control).h2">
+ <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH2}" />
+ </Style>
+ <Style Selector=":is(Control).h3">
+ <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH3}" />
+ </Style>
+ <Style Selector=":is(Control).h4">
+ <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH4}" />
+ </Style>
+ <Style Selector=":is(Control).h5">
+ <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH5}" />
+ </Style>
+ <Style Selector=":is(Control).h6">
+ <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH6}" />
+ </Style>
+ <Style Selector=":is(Control).h7">
+ <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH7}" />
+ </Style>
+ <Style Selector=":is(Control).h8">
+ <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH8}" />
+ </Style>
+ <Style Selector=":is(Control).bold">
+ <Setter Property="(TextBlock.FontWeight)" Value="Bold" />
+ </Style>
+ <Style Selector=":is(Control).italic">
+ <Setter Property="(TextBlock.FontStyle)" Value="Italic" />
+ </Style>
+</Styles>
\ No newline at end of file

ADD
WalletWasabi.Fluent/Styles/SplitView.xaml
+<Styles xmlns="https://github.com/avaloniaui">
+ <Style Selector="SplitView">
+ <Setter Property="CompactPaneLength" Value="{StaticResource SplitViewCompactPaneLength}" />
+ <Setter Property="OpenPaneLength" Value="320" />
+ <Setter Property="DisplayMode" Value="CompactInline" />
+ <Setter Property="IsPaneOpen" Value="True" />
+ <Setter Property="PaneBackground" Value="{x:Null}" />
+ </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:sys="clr-namespace:System;assembly=netstandard"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:converters="clr-namespace:WalletWasabi.Gui.Converters;assembly=WalletWasabi.Gui"
- xmlns:sys="clr-namespace:System;assembly=netstandard">
+ xmlns:converters="clr-namespace:WalletWasabi.Gui.Converters;assembly=WalletWasabi.Gui">
<Styles.Resources>
<sys:Double x:Key="IconElementThemeHeight">16</sys:Double>
<sys:Double x:Key="SplitViewCollapseThreshold">750</sys:Double>
<Thickness x:Key="TextControlThemePadding">15,10,15,8</Thickness>
<Thickness x:Key="ActionButtonPadding">20,10</Thickness>
<Easing x:Key="FluentDefaultEasing">0.1,0.9,0.2,1.0</Easing>
-
- <sys:Double x:Key="FontSizeH1">36</sys:Double>
- <sys:Double x:Key="FontSizeH2">30</sys:Double>
- <sys:Double x:Key="FontSizeH3">24</sys:Double>
- <sys:Double x:Key="FontSizeH4">20</sys:Double>
- <sys:Double x:Key="FontSizeH5">18</sys:Double>
- <sys:Double x:Key="FontSizeH6">16</sys:Double>
- <sys:Double x:Key="FontSizeH7">14</sys:Double>
- <sys:Double x:Key="FontSizeH8">12</sys:Double>
</Styles.Resources>
- <Style Selector=":is(Control).h1">
- <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH1}" />
- </Style>
- <Style Selector=":is(Control).h2">
- <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH2}" />
- </Style>
- <Style Selector=":is(Control).h3">
- <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH3}" />
- </Style>
- <Style Selector=":is(Control).h4">
- <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH4}" />
- </Style>
- <Style Selector=":is(Control).h5">
- <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH5}" />
- </Style>
- <Style Selector=":is(Control).h6">
- <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH6}" />
- </Style>
- <Style Selector=":is(Control).h7">
- <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH7}" />
- </Style>
- <Style Selector=":is(Control).h8">
- <Setter Property="(TextBlock.FontSize)" Value="{StaticResource FontSizeH8}" />
- </Style>
- <Style Selector=":is(Control).bold">
- <Setter Property="(TextBlock.FontWeight)" Value="Bold" />
- </Style>
- <Style Selector=":is(Control).italic">
- <Setter Property="(TextBlock.FontStyle)" Value="Italic" />
- </Style>
-
- <Style Selector="SplitView">
- <Setter Property="CompactPaneLength" Value="{StaticResource SplitViewCompactPaneLength}" />
- <Setter Property="OpenPaneLength" Value="320" />
- <Setter Property="DisplayMode" Value="CompactInline" />
- <Setter Property="IsPaneOpen" Value="True" />
- <Setter Property="PaneBackground" Value="{x:Null}" />
- </Style>
-
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/OptionButton.xaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/ActionButton.xaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Label.xaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/TextBox.xaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/Checkmark.xaml" />
<StyleInclude Source="avares://WalletWasabi.Fluent/Styles/PlainButton.xaml" />
+ <StyleInclude Source="avares://WalletWasabi.Fluent/Styles/SplitView.xaml" />
+ <StyleInclude Source="avares://WalletWasabi.Fluent/Styles/FontSizes.xaml" />
</Styles>
\ No newline at end of file

separate fontsizes and splitview