diff --git a/docs/.vitepress/config/common.ts b/docs/.vitepress/config/common.ts index ddd209d..9e6dec9 100644 --- a/docs/.vitepress/config/common.ts +++ b/docs/.vitepress/config/common.ts @@ -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 diff --git a/docs/.vitepress/theme/fonts.css b/docs/.vitepress/theme/fonts.css new file mode 100644 index 0000000..a0cc335 --- /dev/null +++ b/docs/.vitepress/theme/fonts.css @@ -0,0 +1,4 @@ +:root { + --vp-font-family-base: 'Poppins', sans-serif; + --vp-font-family-mono: 'Cousine', monospace; +} \ No newline at end of file diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts new file mode 100644 index 0000000..254c539 --- /dev/null +++ b/docs/.vitepress/theme/index.ts @@ -0,0 +1,4 @@ +import DefaultTheme from 'vitepress/theme-without-fonts' +import './fonts.css' + +export default DefaultTheme \ No newline at end of file