From 598741a5715834d22bb9621080b4558c1657419a Mon Sep 17 00:00:00 2001
From: Daksh <100519702+dxvsh@users.noreply.github.com>
Date: Tue, 25 Feb 2025 21:31:41 +0000
Subject: [PATCH] fix(fonts): update system-ui trick for improve cross-platform compatibility (#1778)
---
quartz/util/theme.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/quartz/util/theme.ts b/quartz/util/theme.ts
index 9046cec..0c90306 100644
--- a/quartz/util/theme.ts
+++ b/quartz/util/theme.ts
@@ -29,7 +29,7 @@
export type ThemeKey = keyof Colors
const DEFAULT_SANS_SERIF =
- '-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif'
+ 'system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
const DEFAULT_MONO = "ui-monospace, SFMono-Regular, SF Mono, Menlo, monospace"
export function googleFontHref(theme: Theme) {
--
Gitblit v1.10.0