Skip to content

Commit

Permalink
feat: disable theme change
Browse files Browse the repository at this point in the history
Signed-off-by: frank-zsy <[email protected]>
  • Loading branch information
frank-zsy committed Nov 29, 2024
1 parent 1a20acf commit f99b517
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ const config: Config = {
copyright: `Copyright © ${new Date().getFullYear()} X-lab<br>
<a href="https://beian.miit.gov.cn/" target="_blank">浙ICP备18048778号-4</a>`,
},
colorMode: {
defaultMode: 'light',
disableSwitch: true,
respectPrefersColorScheme: false,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
Expand Down

0 comments on commit f99b517

Please sign in to comment.