Skip to content

Commit

Permalink
hidden dark mode until it's properly configured
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutik-sun committed Sep 3, 2024
1 parent 9a4e922 commit a51c7eb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,13 @@ const config = {
"dart", // For Flutter, Dart is the primary language
],
},

// Configure the color mode to default to light and disable the dark mode switch
colorMode: {
defaultMode: 'light', // Set default theme to light mode
disableSwitch: true, // Disable the toggle for switching themes
respectPrefersColorScheme: false, // Ignore system preference for dark mode
},
sidebar: {
autoCollapseCategories: true,
hideable: false,
Expand Down

0 comments on commit a51c7eb

Please sign in to comment.