Replace the font with Atkinson Hyperlegible, make it consistent everywhere

This commit is contained in:
trawzified 2023-11-18 18:34:01 +01:00
parent 0c11f11839
commit 3cdbfe490f
22 changed files with 58 additions and 34 deletions

View File

@ -10,6 +10,8 @@
xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:sys="clr-namespace:System;assembly=mscorlib"
mc:Ignorable="d"> mc:Ignorable="d">
<FontFamily x:Key="AtkinsonHyperlegible">pack://application:,,,/Resources/Fonts/#Atkinson Hyperlegible</FontFamily>
<!-- Converters --> <!-- Converters -->
<local:BoolToVisibilityConverter x:Key="bool2VisibilityConverter" /> <local:BoolToVisibilityConverter x:Key="bool2VisibilityConverter" />
<local:BoolToVisibilityHiddenConverter x:Key="bool2VisibilityHiddenConverter" /> <local:BoolToVisibilityHiddenConverter x:Key="bool2VisibilityHiddenConverter" />
@ -38,11 +40,11 @@
<Color x:Key="HotColor">#525252</Color> <Color x:Key="HotColor">#525252</Color>
<Color x:Key="Yellow">#ffc400</Color> <Color x:Key="Yellow">#ffc400</Color>
<Color x:Key="Red">#e83a40</Color> <Color x:Key="Red">#db2955</Color>
<Color x:Key="Green">#52b545</Color> <Color x:Key="Green">#5fad56</Color>
<Color x:Key="YellowDark">#967400</Color> <Color x:Key="YellowDark">#967400</Color>
<Color x:Key="Primary">#BB86FC</Color> <Color x:Key="Primary">#D9BBF9</Color>
<Color x:Key="PrimaryTransparent">#00BB86FC</Color> <Color x:Key="PrimaryTransparent">#00BB86FC</Color>
<Color x:Key="PrimaryVariant">#3700B3</Color> <Color x:Key="PrimaryVariant">#3700B3</Color>
<Color x:Key="DarkPrimaryVariant">#270080</Color> <Color x:Key="DarkPrimaryVariant">#270080</Color>
@ -234,21 +236,21 @@
<!-- FontStyle --> <!-- FontStyle -->
<Style TargetType="{x:Type TextBlock}"> <Style TargetType="{x:Type TextBlock}">
<Setter Property="FontFamily" Value="Calibri light" /> <Setter Property="FontFamily" Value="{StaticResource AtkinsonHyperlegible}" />
<!--<Setter Property="Foreground" Value="{StaticResource ForegroundBrush}"/>--> <!--<Setter Property="Foreground" Value="{StaticResource ForegroundBrush}"/>-->
</Style> </Style>
<Style TargetType="{x:Type Control}"> <Style TargetType="{x:Type Control}">
<Setter Property="FontFamily" Value="Calibri light" /> <Setter Property="FontFamily" Value="{StaticResource AtkinsonHyperlegible}" />
<Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" /> <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
</Style> </Style>
<Style TargetType="{x:Type Window}"> <Style TargetType="{x:Type Window}">
<Setter Property="FontFamily" Value="Calibri light" /> <Setter Property="FontFamily" Value="{StaticResource AtkinsonHyperlegible}" />
<Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" /> <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
<Setter Property="Background" Value="{StaticResource WindowBackgroundBrush}" /> <Setter Property="Background" Value="{StaticResource WindowBackgroundBrush}" />
</Style> </Style>
<!-- Necessary for Blend designer for UserControls --> <!-- Necessary for Blend designer for UserControls -->
<Style TargetType="{x:Type UserControl}"> <Style TargetType="{x:Type UserControl}">
<Setter Property="FontFamily" Value="Calibri light" /> <Setter Property="FontFamily" Value="{StaticResource AtkinsonHyperlegible}" />
<Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" /> <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
</Style> </Style>
@ -1620,7 +1622,7 @@
</Style> </Style>
<Style TargetType="{x:Type Expander}"> <Style TargetType="{x:Type Expander}">
<Setter Property="Foreground" Value="{StaticResource Expander.MouseOver.Arrow.Stroke}" /> <Setter Property="Foreground" Value="{StaticResource Expander.MouseOver.Arrow.Stroke}" />
<Setter Property="FontFamily" Value="Calibri light" /> <Setter Property="FontFamily" Value="{StaticResource AtkinsonHyperlegible}" />
<Setter Property="Padding" Value="2" /> <Setter Property="Padding" Value="2" />
<Setter Property="Background" Value="{StaticResource Expander.Background}" /> <Setter Property="Background" Value="{StaticResource Expander.Background}" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" /> <Setter Property="HorizontalContentAlignment" Value="Stretch" />
@ -2351,7 +2353,7 @@
<Setter Property="Height" Value="18" /> <Setter Property="Height" Value="18" />
<Setter Property="Background" Value="{StaticResource WindowBackgroundBrush}" /> <Setter Property="Background" Value="{StaticResource WindowBackgroundBrush}" />
<Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" /> <Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
<Setter Property="FontFamily" Value="{DynamicResource {x:Static SystemFonts.StatusFontFamilyKey}}" /> <Setter Property="FontFamily" Value="{StaticResource AtkinsonHyperlegible}" />
<Setter Property="FontSize" Value="{DynamicResource {x:Static SystemFonts.StatusFontSizeKey}}" /> <Setter Property="FontSize" Value="{DynamicResource {x:Static SystemFonts.StatusFontSizeKey}}" />
<Setter Property="FontStyle" Value="{DynamicResource {x:Static SystemFonts.StatusFontStyleKey}}" /> <Setter Property="FontStyle" Value="{DynamicResource {x:Static SystemFonts.StatusFontStyleKey}}" />
<Setter Property="FontWeight" Value="{DynamicResource {x:Static SystemFonts.StatusFontWeightKey}}" /> <Setter Property="FontWeight" Value="{DynamicResource {x:Static SystemFonts.StatusFontWeightKey}}" />

View File

@ -75,7 +75,7 @@
Padding="40,20" Padding="40,20"
HorizontalAlignment="Left" HorizontalAlignment="Left"
VerticalAlignment="Bottom" VerticalAlignment="Bottom"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="65" FontSize="65"
FontWeight="Bold" FontWeight="Bold"
Style="{StaticResource BackgroundBlurStyle}" Style="{StaticResource BackgroundBlurStyle}"
@ -89,7 +89,7 @@
Margin="35,-10,-10,10" Margin="35,-10,-10,10"
Padding="30,10" Padding="30,10"
HorizontalAlignment="Left" HorizontalAlignment="Left"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="30" FontSize="30"
FontWeight="Bold" FontWeight="Bold"
Style="{StaticResource BackgroundBlurStyle}" Style="{StaticResource BackgroundBlurStyle}"
@ -105,7 +105,7 @@
Margin="20,25,20,0" Margin="20,25,20,0"
HorizontalAlignment="Left" HorizontalAlignment="Left"
VerticalAlignment="Bottom" VerticalAlignment="Bottom"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="65" FontSize="65"
FontWeight="Bold" FontWeight="Bold"
TextWrapping="WrapWithOverflow"> TextWrapping="WrapWithOverflow">
@ -116,7 +116,7 @@
<TextBlock Grid.Row="3" Grid.Column="0" <TextBlock Grid.Row="3" Grid.Column="0"
x:Name="AuthorTextBlock" x:Name="AuthorTextBlock"
Margin="55,0,20,20" Margin="55,0,20,20"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="30" FontSize="30"
FontWeight="Bold" FontWeight="Bold"
TextWrapping="Wrap"> TextWrapping="Wrap">
@ -132,7 +132,7 @@
Padding="30,10" Padding="30,10"
HorizontalAlignment="Right" HorizontalAlignment="Right"
VerticalAlignment="Bottom" VerticalAlignment="Bottom"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="16" FontSize="16"
Style="{StaticResource BackgroundBlurStyle}" Style="{StaticResource BackgroundBlurStyle}"
TextAlignment="Right" TextAlignment="Right"
@ -146,7 +146,7 @@
Margin="20,25,25,25" Margin="20,25,25,25"
HorizontalAlignment="Right" HorizontalAlignment="Right"
VerticalAlignment="Bottom" VerticalAlignment="Bottom"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="16" FontSize="16"
TextAlignment="Right" TextAlignment="Right"
TextWrapping="Wrap"> TextWrapping="Wrap">

View File

@ -78,7 +78,7 @@
Width="130" Width="130"
Margin="0,0,0,0" Margin="0,0,0,0"
VerticalAlignment="Center" VerticalAlignment="Center"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontWeight="Black" FontWeight="Black"
Foreground="{StaticResource ComplementaryBrush}" Foreground="{StaticResource ComplementaryBrush}"
TextAlignment="Right" /> TextAlignment="Right" />
@ -89,7 +89,7 @@
x:Name="TitleText" x:Name="TitleText"
Margin="15,0,0,0" Margin="15,0,0,0"
VerticalAlignment="Center" VerticalAlignment="Center"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="25" FontSize="25"
FontWeight="Black" /> FontWeight="Black" />
<ContentControl Grid.Column="2" /> <ContentControl Grid.Column="2" />

View File

@ -45,13 +45,13 @@
</Grid.RowDefinitions> </Grid.RowDefinitions>
<TextBlock Grid.Row="0" <TextBlock Grid.Row="0"
Margin="0,0,0,10" Margin="0,0,0,10"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="30" FontSize="30"
FontWeight="Bold" FontWeight="Bold"
Foreground="{StaticResource YellowBrush}" Foreground="{StaticResource YellowBrush}"
Text="UNDER MAINTENANCE" /> Text="UNDER MAINTENANCE" />
<TextBlock Grid.Row="1" <TextBlock Grid.Row="1"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="15" FontSize="15"
FontWeight="Bold" FontWeight="Bold"
Foreground="{StaticResource YellowBrush}" Foreground="{StaticResource YellowBrush}"
@ -72,7 +72,7 @@
<RowDefinition Height="Auto" /> <RowDefinition Height="Auto" />
</Grid.RowDefinitions> </Grid.RowDefinitions>
<TextBlock Grid.Row="0" <TextBlock Grid.Row="0"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="100" FontSize="100"
FontWeight="Bold" FontWeight="Bold"
Foreground="{StaticResource YellowBrush}" Foreground="{StaticResource YellowBrush}"
@ -102,7 +102,7 @@
Kind="HelpCircle" /> Kind="HelpCircle" />
</Button> </Button>
<TextBlock Grid.Row="1" <TextBlock Grid.Row="1"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="100" FontSize="100"
FontWeight="Bold" FontWeight="Bold"
Foreground="{StaticResource YellowBrush}" Foreground="{StaticResource YellowBrush}"

View File

@ -26,7 +26,7 @@
x:Name="TitleText" x:Name="TitleText"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Bottom" VerticalAlignment="Bottom"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="22" FontSize="22"
FontWeight="Black"> FontWeight="Black">
<TextBlock.Effect> <TextBlock.Effect>

View File

@ -29,7 +29,7 @@
x:Name="TitleText" x:Name="TitleText"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Bottom" VerticalAlignment="Bottom"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="22" FontSize="22"
FontWeight="Black"> FontWeight="Black">
<TextBlock.Effect> <TextBlock.Effect>

View File

@ -41,7 +41,7 @@
TextAlignment="Center" /> TextAlignment="Center" />
<TextBlock x:Name="errorTextBox" <TextBlock x:Name="errorTextBox"
Grid.Row="3" Grid.Row="3"
FontFamily="Verdana" FontSize="10" FontWeight="ExtraBold" FontFamily="{StaticResource AtkinsonHyperlegible}" FontSize="10" FontWeight="ExtraBold"
Background="{StaticResource WindowBackgroundBrush}" Background="{StaticResource WindowBackgroundBrush}"
Foreground="Red" Foreground="Red"
Text="" Text=""

View File

@ -152,7 +152,7 @@
Margin="4" Margin="4"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="9" FontSize="9"
FontWeight="Bold" FontWeight="Bold"
Text="NSFW" /> Text="NSFW" />

View File

@ -24,7 +24,7 @@
<TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3"
x:Name="ShortDescription" x:Name="ShortDescription"
Margin="0,0,0,5" Margin="0,0,0,5"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="14" FontSize="14"
FontWeight="Bold" FontWeight="Bold"
TextWrapping="WrapWithOverflow" /> TextWrapping="WrapWithOverflow" />

View File

@ -294,7 +294,7 @@
Margin="5" Margin="5"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Bottom" VerticalAlignment="Bottom"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="30" FontSize="30"
FontWeight="Bold" FontWeight="Bold"
Style="{StaticResource BackgroundBlurStyle}" Style="{StaticResource BackgroundBlurStyle}"
@ -308,7 +308,7 @@
Margin="5" Margin="5"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Bottom" VerticalAlignment="Bottom"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="30" FontSize="30"
FontWeight="Bold" FontWeight="Bold"
TextWrapping="Wrap"> TextWrapping="Wrap">

View File

@ -25,6 +25,7 @@
</LinearGradientBrush> </LinearGradientBrush>
</Rectangle.Fill> </Rectangle.Fill>
</Rectangle> </Rectangle>
<!--
<Viewbox Grid.Row="0" Grid.RowSpan="3" <Viewbox Grid.Row="0" Grid.RowSpan="3"
Name="Banner" Name="Banner"
HorizontalAlignment="Center" HorizontalAlignment="Center"
@ -32,6 +33,8 @@
Stretch="UniformToFill"> Stretch="UniformToFill">
<Image Margin="40,20,40,240" Source="../Resources/Wabba_Mouth.png" /> <Image Margin="40,20,40,240" Source="../Resources/Wabba_Mouth.png" />
</Viewbox> </Viewbox>
-->
<Label Content="Welcome to Wabbajack" FontSize="36" FontWeight="Bold"/>
<Grid Grid.Row="1" Margin="5,15"> <Grid Grid.Row="1" Margin="5,15">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>

View File

@ -33,7 +33,7 @@
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<TextBlock Grid.ColumnSpan="3" <TextBlock Grid.ColumnSpan="3"
Margin="5,0" Margin="5,0"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="20" FontSize="20"
FontWeight="Bold" FontWeight="Bold"
Text="File Uploader" /> Text="File Uploader" />

View File

@ -34,7 +34,7 @@
</Grid.Resources> </Grid.Resources>
<TextBlock <TextBlock
Margin="5,0" Margin="5,0"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="20" FontSize="20"
FontWeight="Bold" FontWeight="Bold"
Text="Logins" /> Text="Logins" />

View File

@ -34,7 +34,7 @@
<TextBlock <TextBlock
Grid.Column="0" Grid.Column="0"
Grid.ColumnSpan="2" Grid.ColumnSpan="2"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="20" FontSize="20"
FontWeight="Bold" FontWeight="Bold"
Text="Misc Settings" /> Text="Misc Settings" />

View File

@ -40,7 +40,7 @@
<TextBlock <TextBlock
Grid.Column="0" Grid.Column="0"
Grid.ColumnSpan="3" Grid.ColumnSpan="3"
FontFamily="Lucida Sans" FontFamily="{StaticResource AtkinsonHyperlegible}"
FontSize="20" FontSize="20"
FontWeight="Bold" FontWeight="Bold"
Text="Performance" /> Text="Performance" />

View File

@ -13,7 +13,7 @@
mc:Ignorable="d"> mc:Ignorable="d">
<UserControl.Resources> <UserControl.Resources>
<Style TargetType="TextBlock"> <Style TargetType="TextBlock">
<Setter Property="FontFamily" Value="Lucida Sans" /> <Setter Property="FontFamily" Value="{StaticResource AtkinsonHyperlegible}" />
<Setter Property="FontWeight" Value="Bold" /> <Setter Property="FontWeight" Value="Bold" />
<Setter Property="FontSize" Value="12" /> <Setter Property="FontSize" Value="12" />
</Style> </Style>

View File

@ -51,6 +51,12 @@
<ItemGroup> <ItemGroup>
<None Remove="Readme.md" /> <None Remove="Readme.md" />
<None Remove="Resources\Fonts\Atkinson-Hyperlegible-Italic-102.ttf" />
<None Remove="Resources\Fonts\Atkinson-Hyperlegible-Regular-102.ttf" />
<None Remove="Resources\Fonts\AtkinsonHyperlegible-Bold.ttf" />
<None Remove="Resources\Fonts\AtkinsonHyperlegible-BoldItalic.ttf" />
<None Remove="Resources\Fonts\AtkinsonHyperlegible-Italic.ttf" />
<None Remove="Resources\Fonts\AtkinsonHyperlegible-Regular.ttf" />
<None Remove="Resources\GameGridIcons\Fallout4.png" /> <None Remove="Resources\GameGridIcons\Fallout4.png" />
<None Remove="Resources\GameGridIcons\SkyrimSpecialEdition.png" /> <None Remove="Resources\GameGridIcons\SkyrimSpecialEdition.png" />
<None Remove="Resources\Icons\middle_mouse_button.png" /> <None Remove="Resources\Icons\middle_mouse_button.png" />
@ -101,6 +107,7 @@
<PackageReference Include="ReactiveUI.WPF" Version="19.5.1" /> <PackageReference Include="ReactiveUI.WPF" Version="19.5.1" />
<PackageReference Include="Silk.NET.DXGI" Version="2.18.0" /> <PackageReference Include="Silk.NET.DXGI" Version="2.18.0" />
<PackageReference Include="System.Reactive" Version="6.0.1-preview.1" /> <PackageReference Include="System.Reactive" Version="6.0.1-preview.1" />
<PackageReference Include="WPF-UI" Version="3.0.0-preview.9" />
<PackageReference Include="WPFThemes.DarkBlend" Version="1.0.8" /> <PackageReference Include="WPFThemes.DarkBlend" Version="1.0.8" />
</ItemGroup> </ItemGroup>
@ -110,6 +117,18 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Resource Include="Resources\Fonts\AtkinsonHyperlegible-Bold.ttf">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Resource>
<Resource Include="Resources\Fonts\AtkinsonHyperlegible-BoldItalic.ttf">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Resource>
<Resource Include="Resources\Fonts\AtkinsonHyperlegible-Italic.ttf">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Resource>
<Resource Include="Resources\Fonts\AtkinsonHyperlegible-Regular.ttf">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Resource>
<Resource Include="Resources\middle_mouse_button.png" /> <Resource Include="Resources\middle_mouse_button.png" />
<Resource Include="Resources\MO2Button.png" /> <Resource Include="Resources\MO2Button.png" />
<Resource Include="Resources\VortexButton.png" /> <Resource Include="Resources\VortexButton.png" />