feat: 思源黑和noto mono

This commit is contained in:
camera-2018
2023-04-14 16:27:00 +08:00
parent 15c19b9b1e
commit 59775358c7
3 changed files with 16 additions and 5 deletions

View File

@@ -1,12 +1,13 @@
// https://vitepress.dev/guide/custom-theme
import { h } from 'vue'
import Theme from 'vitepress/theme'
// import Theme from 'vitepress/theme'
import DefaultTheme from 'vitepress/theme-without-fonts'
import './style.css'
export default {
...Theme,
...DefaultTheme,
Layout: () => {
return h(Theme.Layout, null, {
return h(DefaultTheme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots
})
},
@@ -14,3 +15,6 @@ export default {
// ...
}
}
// export default {
// ...DefaultTheme,
// }