11
This commit is contained in:
@@ -190,9 +190,9 @@ export const siteConfig: SiteConfig = {
|
||||
},
|
||||
cjkFont: {
|
||||
// 中日韩字体 - 作为回退字体
|
||||
fontFamily: "XiangcuiDengcusong",
|
||||
fontFamily: "萝莉体 第二版",
|
||||
fontWeight: "500",
|
||||
localFonts: ["XiangcuiDengcusong.ttf"],
|
||||
localFonts: ["萝莉体 第二版.ttf"],
|
||||
enableCompress: true, // 启用字体子集优化,减少字体文件大小
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user