From 34a198369c63ebd251bde6fa6100f63e72ecbf4f Mon Sep 17 00:00:00 2001 From: Daksh <100519702+dxvsh@users.noreply.github.com> Date: Tue, 18 Feb 2025 17:55:21 +0000 Subject: [PATCH] fix(theme): update default sans-serif font stack to improve cross-platform compatibility --- quartz/util/theme.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/util/theme.ts b/quartz/util/theme.ts index 9046cec66..0c903066f 100644 --- a/quartz/util/theme.ts +++ b/quartz/util/theme.ts @@ -29,7 +29,7 @@ export interface Theme { 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) {