From 598741a5715834d22bb9621080b4558c1657419a Mon Sep 17 00:00:00 2001 From: Daksh <100519702+dxvsh@users.noreply.github.com> Date: Wed, 26 Feb 2025 03:01:41 +0530 Subject: [PATCH] fix(fonts): update system-ui trick for improve cross-platform compatibility (#1778) --- 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 9046cec..0c90306 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) {