Skip to content

Commit

Permalink
Add detection for light/dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-solomon committed Oct 24, 2024
1 parent 22bb039 commit 765e2c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ const config: Config = {
backgroundColor: "#555555",
textColor: "#E3F2FD",
},
colorMode: {
respectPrefersColorScheme: true,
},
navbar: {
logo: {
alt: 'Moderne Logo Logo',
Expand Down

0 comments on commit 765e2c8

Please sign in to comment.