From f42048792e600243447b674ea118b6f969b80fc3 Mon Sep 17 00:00:00 2001 From: Henry-ZHR Date: Sat, 7 Dec 2024 20:43:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=A3=E7=A0=81=E5=AD=97=E4=BD=93?= =?UTF-8?q?=E5=85=88=20fallback=20=E5=88=B0=20monospace=20=E5=86=8D?= =?UTF-8?q?=E5=88=B0=E4=B8=AD=E6=96=87=E5=92=8C=20sans-serif?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/css/var.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/css/var.styl b/source/css/var.styl index 6ab9a83..68796fb 100644 --- a/source/css/var.styl +++ b/source/css/var.styl @@ -16,7 +16,7 @@ $theme-toc-color = $themeColorEnable && hexo-config('theme_color.toc_color') ? c $chinseFont = $language == 'zh-CN' ? 'Microsoft YaHei' : 'Microsoft JhengHei' $dafault-font-family = -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Lato, Roboto, 'PingFang SC', $chinseFont, sans-serif -$dafault-code-font = consolas, Menlo, 'PingFang SC', $chinseFont, sans-serif +$dafault-code-font = consolas, Menlo, monospace, 'PingFang SC', $chinseFont, sans-serif $font-family = hexo-config('font.font_family') ? unquote(hexo-config('font.font_family')) : $dafault-font-family $code-font-family = hexo-config('font.code_font_family') ? unquote(hexo-config('font.code_font_family')) : $dafault-code-font