Merge pull request #394 from tangly1024/release/V3.5.0

Release/v3.5.0
This commit is contained in:
tangly1024
2022-10-18 18:45:52 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ const BLOG = {
BEI_AN: process.env.NEXT_PUBLIC_BEI_AN || '', // 备案号 闽ICP备XXXXXXX
APPEARANCE: 'light', // ['light', 'dark', 'auto'], // light 日间模式 dark夜间模式 auto根据时间和主题自动夜间模式
FONT: 'font-serif tracking-wider subpixel-antialiased', // 文章字体 ['font-sans', 'font-serif', 'font-mono'] @see https://www.tailwindcss.cn/docs/font-family
FONT_URL: 'https://fonts.font.im/css2?family=Noto+Serif+SC&display=swap', // 谷歌字体中国站镜像;对应的国际站地址https://fonts.googleapis.com/css2?family=Noto+Serif+SC&display=swap
FONT_AWESOME_PATH:
'https://cdn.bootcdn.net/ajax/libs/font-awesome/5.15.4/css/all.min.css', // 图标库CDN 国内推荐BootCDN国外推荐 CloudFlare https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css
BACKGROUND_LIGHT: '#eeeeee', // use hex value, don't forget '#' e.g #fffefc

View File

@@ -16,7 +16,7 @@ class MyDocument extends Document {
<link rel='icon' href='/favicon.ico' />
<link rel='icon' href='/favicon.svg' type='image/svg+xml' />
{/* 谷歌字体镜像 */}
<link href="https://fonts.loli.net/css2?family=Noto+Serif+SC&display=swap" rel="stylesheet"/>
<link href={`${BLOG.FONT_URL}`} rel="stylesheet"/>
<CommonScript />
</Head>