We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6814ea commit 75ac07fCopy full SHA for 75ac07f
.vitepress/en.ts
@@ -18,7 +18,10 @@ export const en = defineConfig({
18
themeConfig: {
19
// https://vitepress.dev/reference/default-theme-config
20
// 左上角logo
21
- logo: '/icon_docs.svg',
+ logo: {
22
+ light: '/icon_docs.svg',
23
+ dark: '/icon_docs_dark.svg'
24
+ },
25
siteTitle: false,
26
27
// 导航栏配置
.vitepress/zh.ts
@@ -21,8 +21,11 @@ export const zh = defineConfig({
- // 左上角logo
+ // 左上角logo,支持明暗模式
28
29
30
31
public/icon_docs_dark.svg
0 commit comments