From 81c136d460295eeac7580293dde8b7f24d3eee19 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Tue, 16 Jun 2026 20:18:03 +0000
Subject: [PATCH 1/2] Remove external Google Fonts request
---
JournalApp/wwwroot/index.html | 1 -
1 file changed, 1 deletion(-)
diff --git a/JournalApp/wwwroot/index.html b/JournalApp/wwwroot/index.html
index 42ded6b..d5ef8a7 100644
--- a/JournalApp/wwwroot/index.html
+++ b/JournalApp/wwwroot/index.html
@@ -7,7 +7,6 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
Good Diary
-
From 3bd1615580243f8cd8f882f9fd2d39113a6de56a Mon Sep 17 00:00:00 2001
From: Daniel Chalmers
Date: Tue, 16 Jun 2026 15:37:54 -0500
Subject: [PATCH 2/2] Use platform font stack in Blazor UI
---
JournalApp/Pages/MainLayout.razor | 14 ++++++++++++++
JournalApp/wwwroot/app.css | 2 +-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/JournalApp/Pages/MainLayout.razor b/JournalApp/Pages/MainLayout.razor
index 9421ce2..86933e2 100644
--- a/JournalApp/Pages/MainLayout.razor
+++ b/JournalApp/Pages/MainLayout.razor
@@ -22,6 +22,15 @@
@code {
+ static readonly string[] SystemFontFamily =
+ [
+ "system-ui",
+ "-apple-system",
+ "BlinkMacSystemFont",
+ "Segoe UI",
+ "sans-serif",
+ ];
+
bool _hasInitiallyRendered;
MudTheme _theme = new()
@@ -64,6 +73,11 @@
Typography = new()
{
+ Default = new DefaultTypography()
+ {
+ FontFamily = SystemFontFamily,
+ },
+
Button = new ButtonTypography()
{
TextTransform = "none",
diff --git a/JournalApp/wwwroot/app.css b/JournalApp/wwwroot/app.css
index 576e801..420d25f 100644
--- a/JournalApp/wwwroot/app.css
+++ b/JournalApp/wwwroot/app.css
@@ -24,7 +24,7 @@ body {
}
#loading-text {
- font-family: "Roboto", system-ui, sans-serif;
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-size: 6vw;
}