mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-22 06:07:37 +08:00
🔥 更新字体样式
This commit is contained in:
parent
d410bcc3fe
commit
70d1c95254
@ -52,9 +52,8 @@ console.log(generateSidebarConfig())
|
||||
|
||||
export const common = defineConfig({
|
||||
head: [
|
||||
[
|
||||
'link', {rel: 'icon', type: 'image/svg+xml', href: '/mbcp-logo.svg'}
|
||||
]
|
||||
['link', {rel: 'icon', type: 'image/svg+xml', href: '/mbcp-logo.svg'}],
|
||||
['link', {rel: 'stylesheet', href: 'https://fonts.font.im/css?family=Cousine:400,400i,700,700i|Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i'}],
|
||||
],
|
||||
markdown: {
|
||||
math: true
|
||||
|
4
docs/.vitepress/theme/fonts.css
Normal file
4
docs/.vitepress/theme/fonts.css
Normal file
@ -0,0 +1,4 @@
|
||||
:root {
|
||||
--vp-font-family-base: 'Poppins', sans-serif;
|
||||
--vp-font-family-mono: 'Cousine', monospace;
|
||||
}
|
4
docs/.vitepress/theme/index.ts
Normal file
4
docs/.vitepress/theme/index.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import DefaultTheme from 'vitepress/theme-without-fonts'
|
||||
import './fonts.css'
|
||||
|
||||
export default DefaultTheme
|
Loading…
Reference in New Issue
Block a user