EyeTrackVR-Docs/vitepress/docs/.vitepress/config.ts
ZanzyTHEbar 64835de430 update: fix theme colors
- fix custom theme not rendering
- change colors to test
- add all theme options
- annotate sections
2023-01-06 18:30:42 +00:00

24 lines
689 B
TypeScript

// .vitepress/config.ts
import { defineConfig } from 'vitepress'
import { theme } from '../src/custom/theme'
export default defineConfig({
outDir: '../dist',
srcDir: './src/pages',
cleanUrls: 'with-subfolders',
head: [
[
'link',
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }
]
// would render: <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
],
markdown: {
//theme: 'material-palenight',
lineNumbers: true
},
lastUpdated: true,
title: 'EyeTrackVR Docs',
description: 'An awesome docs template built by me',
themeConfig: theme,
})