Skip to content

Commit

Permalink
feat: sample to lato
Browse files Browse the repository at this point in the history
  • Loading branch information
giard-alexandre committed Oct 22, 2024
1 parent a954be9 commit bda86a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion samples/Fonts.Avalonia.Samples/App.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->

<Application.Resources>
<FontFamily x:Key="ContentControlThemeFontFamily">fonts:JetBrainsMono#JetBrains Mono, $Default</FontFamily>
<!-- <FontFamily x:Key="ContentControlThemeFontFamily">fonts:JetBrainsMono#JetBrains Mono, $Default</FontFamily> -->
<FontFamily x:Key="ContentControlThemeFontFamily">fonts:Lato#Lato, $Default</FontFamily>
</Application.Resources>
<Application.Styles>
<FluentTheme />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@

<ItemGroup>
<ProjectReference Include="..\..\src\Fonts.Avalonia.JetBrainsMono\Fonts.Avalonia.JetBrainsMono.csproj" />
<ProjectReference Include="..\..\src\Fonts.Avalonia.Lato\Fonts.Avalonia.Lato.csproj" />
</ItemGroup>
</Project>
3 changes: 2 additions & 1 deletion samples/Fonts.Avalonia.Samples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;

using Fonts.Avalonia.JetBrainsMono;
using Fonts.Avalonia.Lato;

namespace Fonts.Avalonia.Samples;

Expand All @@ -15,5 +16,5 @@ class Program {

// Avalonia configuration, don't remove; also used by visual designer.
public static AppBuilder BuildAvaloniaApp() =>
AppBuilder.Configure<App>().UsePlatformDetect().WithJetBrainsMonoFont().LogToTrace();
AppBuilder.Configure<App>().UsePlatformDetect().WithLatoFont().LogToTrace();
}

0 comments on commit bda86a3

Please sign in to comment.