mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
字体相关调整
This commit is contained in:
@@ -19,8 +19,14 @@ const ExternalScript = () => {
|
||||
}
|
||||
}
|
||||
// 静态导入本地自定义样式
|
||||
loadExternalResource('/css/all.min.css', 'css')
|
||||
loadExternalResource('/css/custom.css', 'css')
|
||||
loadExternalResource('/js/custom.js', 'js')
|
||||
|
||||
// 渲染所有字体
|
||||
BLOG.FONT_URL?.forEach(e => {
|
||||
loadExternalResource(e, 'css')
|
||||
})
|
||||
}, [])
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user