Skip to content

Commit 5de62a0

Browse files
rawrmaanjthiller
andauthored
Re-enable dark mode (#1931)
* Consolidate sidebar nav, remove top bar nav * Revert unintentional hotspots-makers.mdx formatting changes * Revert unintentional hotspots-makers.mdx formatting changes pt2 * Re-enable dark mode and revamp dark styles * Fix dark styles for DC page * Update src/css/custom.css Co-authored-by: Joey Hiller <[email protected]> * Update src/css/custom.css Co-authored-by: Joey Hiller <[email protected]> * Update menu bottom padding on mobile * minor formatting --------- Co-authored-by: Joey Hiller <[email protected]>
1 parent 1735a10 commit 5de62a0

File tree

5 files changed

+198
-120
lines changed

5 files changed

+198
-120
lines changed

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ module.exports = {
3333

3434
// Hides the switch in the navbar
3535
// Useful if you want to support a single color mode
36-
disableSwitch: true,
36+
disableSwitch: false,
3737

3838
// Should we use the prefers-color-scheme media-query,
3939
// using user system preferences, instead of the hardcoded defaultMode
40-
respectPrefersColorScheme: false,
40+
respectPrefersColorScheme: true,
4141
},
4242
navbar: {
4343
title: '',

0 commit comments

Comments
 (0)