From d41f67a1563d933943ff940ec90bbf5486555af7 Mon Sep 17 00:00:00 2001 From: screw-hand Date: Fri, 15 Mar 2024 15:17:05 +0800 Subject: [PATCH] fix: mac setting theme font-famil not working (#632) --- src/pages/_theme.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/_theme.tsx b/src/pages/_theme.tsx index 35485cb1..68bddf24 100644 --- a/src/pages/_theme.tsx +++ b/src/pages/_theme.tsx @@ -12,8 +12,8 @@ export const defaultTheme = { warning_color: "#FF9500", success_color: "#06943D", background_color: "#f5f5f5", - font_family: `-apple-system, BlinkMacSystemFont,"Microsoft YaHei UI", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", ${ - OS === "windows" ? "twemoji mozilla" : "" + font_family: `-apple-system, BlinkMacSystemFont,"Microsoft YaHei UI", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji"${ + OS === "windows" ? ", twemoji mozilla" : "" }`, };