Skip to content

Commit

Permalink
feat: use custom theme
Browse files Browse the repository at this point in the history
  • Loading branch information
stfsy committed Apr 26, 2022
1 parent bd1527e commit 7958ca4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const anchorPlugin = require('markdown-it-anchor')
const { path } = require('@vuepress/utils')

// eslint-disable-next-line no-control-regex
const rControl = /[\u0000-\u001f]/g
Expand Down Expand Up @@ -59,8 +60,8 @@ module.exports = {
extractHeaders: { level: [2, 3, 4, 5, 6] },
anchor: false
},
// theme and its config
theme: '@vuepress/theme-default',
theme: path.resolve(__dirname, './theme'),
head: [
themeConfig: {
logo: '/icons/icon_light.png',
logoDark: '/icons/icon_dark.png',
Expand Down

0 comments on commit 7958ca4

Please sign in to comment.