This commit is contained in:
2025-12-08 01:12:09 +08:00
parent 5c77d25b6d
commit 8ee069d71d
2 changed files with 4 additions and 4 deletions

View File

@@ -190,9 +190,9 @@ export const siteConfig: SiteConfig = {
},
cjkFont: {
// 中日韩字体 - 作为回退字体
fontFamily: "XiangcuiDengcusong",
fontFamily: "萝莉体 第二版",
fontWeight: "500",
localFonts: ["XiangcuiDengcusong.ttf"],
localFonts: ["萝莉体 第二版.ttf"],
enableCompress: true, // 启用字体子集优化,减少字体文件大小
},
},

View File

@@ -18,8 +18,8 @@
}
@font-face {
font-family: 'XiangcuiDengcusong';
src: url('/assets/font/XiangcuiDengcusong.woff2') format('woff2');
font-family: '萝莉体 第二版';
src: url('/assets/font/萝莉体 第二版.woff2') format('woff2');
font-weight: 400;
font-display: swap;
}