From 6e0b4070634df1770f28205ea706948fb3b609ad Mon Sep 17 00:00:00 2001 From: John Knox Date: Mon, 17 Aug 2020 06:16:58 -0700 Subject: [PATCH] Make it light mode by default Summary: The new version's disableSwitch isn't equivalent to disabling dark mode like it did before. The default is still dark but now there's no way to change it. This makes the default light again. Would be nice to enable the dark mode switch, we just need someone to make sure the CSS colours have good enough contrast etc. PRs very welcome! Dark mode: {F287823751} Reviewed By: mweststrate Differential Revision: D23161145 fbshipit-source-id: fa887afbffa8a1e1e753833b2dba618c5f93435f --- website/docusaurus.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 83e7d24f7..d55560a58 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -35,6 +35,9 @@ const siteConfig = { ], }, colorMode: { + // Nothing against dark mode, but our current CSS doesn't have high contrast + // so it needs some work before being enabled. + defaultMode: 'light', disableSwitch: true, }, footer: {