summaryrefslogtreecommitdiff
path: root/themes/theme
diff options
context:
space:
mode:
Diffstat (limited to 'themes/theme')
-rw-r--r--themes/theme/layout/partials/head.ejs2
-rw-r--r--themes/theme/source/css/font-slices.styl8
-rw-r--r--themes/theme/source/css/variable.styl2
3 files changed, 6 insertions, 6 deletions
diff --git a/themes/theme/layout/partials/head.ejs b/themes/theme/layout/partials/head.ejs
index 16be12f8..0b15366f 100644
--- a/themes/theme/layout/partials/head.ejs
+++ b/themes/theme/layout/partials/head.ejs
@@ -40,7 +40,7 @@
<% } %>
<%# font preload %>
- <link rel="preload" href="<%- url_for('/fonts/TensentypeCode.woff2') %>" as="font" type="font/woff2" crossorigin>
+ <link rel="preload" href="<%- url_for('/fonts/FZYouSongS-509R.woff2') %>" as="font" type="font/woff2" crossorigin>
<%# javascript list %>
<% if (theme.scripts !==undefined &&
diff --git a/themes/theme/source/css/font-slices.styl b/themes/theme/source/css/font-slices.styl
index 3c90c548..601f8cae 100644
--- a/themes/theme/source/css/font-slices.styl
+++ b/themes/theme/source/css/font-slices.styl
@@ -1,9 +1,9 @@
-// FONT - Tensentype Code
-// 单文件字体,替换原有的 GoogleSansCode 5 分片
+// FONT - FZYouSongS 509R
+// 方正悠宋 简 509R,全站强制正文字体(woff2, 1.08MB, 7106 CJK 汉字)
@font-face
- font-family 'TensentypeCode'
+ font-family 'FZYouSongS-509R'
font-style normal
font-weight 400
font-display swap
- src url('/fonts/TensentypeCode.woff2') format('woff2')
+ src url('/fonts/FZYouSongS-509R.woff2') format('woff2')
diff --git a/themes/theme/source/css/variable.styl b/themes/theme/source/css/variable.styl
index 4deaed5d..feb9b759 100644
--- a/themes/theme/source/css/variable.styl
+++ b/themes/theme/source/css/variable.styl
@@ -18,7 +18,7 @@ $margin-s-2 = 4*$px
$margin-s-1 = 2*$px
$margin-s-0 = 1*$px
-$font-family = 'TensentypeCode', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
+$font-family = 'FZYouSongS-509R', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
$font-weight-light = 300
$font-weight-regular = 400