From a31f341333ca38fc8f86fa8043c2a7781147ffba Mon Sep 17 00:00:00 2001 From: Jungzl <13jungzl@gmail.com> Date: Tue, 15 Oct 2024 11:51:51 +0800 Subject: [PATCH 1/2] fix(theme): remove some explicit fonts --- src/client/theme-default/styles/vars.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/theme-default/styles/vars.css b/src/client/theme-default/styles/vars.css index 8d75d59b9db9..b6603575cbb4 100644 --- a/src/client/theme-default/styles/vars.css +++ b/src/client/theme-default/styles/vars.css @@ -270,9 +270,8 @@ :root:where(:lang(zh)) { --vp-font-family-base: 'Punctuation SC', 'Inter', ui-sans-serif, system-ui, - 'PingFang SC', 'Noto Sans CJK SC', 'Noto Sans SC', 'Heiti SC', - 'Microsoft YaHei', 'DengXian', sans-serif, 'Apple Color Emoji', - 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; + 'PingFang SC', 'Noto Sans CJK SC', 'Noto Sans SC', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', + 'Segoe UI Symbol', 'Noto Color Emoji'; } /** From 5cc5eadd36524965fcdaf44162cfdb8feb850e6d Mon Sep 17 00:00:00 2001 From: Jungzl <13jungzl@gmail.com> Date: Tue, 15 Oct 2024 13:59:48 +0800 Subject: [PATCH 2/2] fix: lint --- src/client/theme-default/styles/vars.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/theme-default/styles/vars.css b/src/client/theme-default/styles/vars.css index b6603575cbb4..bea317d107f3 100644 --- a/src/client/theme-default/styles/vars.css +++ b/src/client/theme-default/styles/vars.css @@ -270,8 +270,8 @@ :root:where(:lang(zh)) { --vp-font-family-base: 'Punctuation SC', 'Inter', ui-sans-serif, system-ui, - 'PingFang SC', 'Noto Sans CJK SC', 'Noto Sans SC', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', - 'Segoe UI Symbol', 'Noto Color Emoji'; + 'PingFang SC', 'Noto Sans CJK SC', 'Noto Sans SC', sans-serif, + 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; } /**