Skip to content

Commit b5c1263

Browse files
committed
fix dark mode
1 parent 92e936f commit b5c1263

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/docusaurus.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ const config: Config = {
5757
themeConfig: {
5858
// Replace with your project's social card
5959
image: 'img/meshcore-social-card.jpg',
60+
colorMode: {
61+
defaultMode: 'dark',
62+
disableSwitch: true,
63+
respectPrefersColorScheme: false,
64+
},
6065
navbar: {
6166
logo: {
6267
alt: 'Meshcore Logo',

0 commit comments

Comments
 (0)