🔥 更新字体样式

This commit is contained in:
远野千束 2024-08-31 07:31:06 +08:00
parent d410bcc3fe
commit 70d1c95254
3 changed files with 10 additions and 3 deletions

View File

@ -52,9 +52,8 @@ console.log(generateSidebarConfig())
export const common = defineConfig({ export const common = defineConfig({
head: [ 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: { markdown: {
math: true math: true

View File

@ -0,0 +1,4 @@
:root {
--vp-font-family-base: 'Poppins', sans-serif;
--vp-font-family-mono: 'Cousine', monospace;
}

View File

@ -0,0 +1,4 @@
import DefaultTheme from 'vitepress/theme-without-fonts'
import './fonts.css'
export default DefaultTheme