Browse Source

fix: mac setting theme font-famil not working (#632)

screw-hand 1 năm trước cách đây
mục cha
commit
d41f67a156
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/pages/_theme.tsx

+ 2 - 2
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" : ""
   }`,
 };