diff --git a/docusaurus.config.ts b/docusaurus.config.ts index af55ff2..f8b37dd 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -160,6 +160,11 @@ const config: Config = { copyright: `Copyright © ${new Date().getFullYear()} X-lab
浙ICP备18048778号-4`, }, + colorMode: { + defaultMode: 'light', + disableSwitch: true, + respectPrefersColorScheme: false, + }, prism: { theme: prismThemes.github, darkTheme: prismThemes.dracula,