From a1bfb0f08baff2a5cfd14bf67c0c820afac17569 Mon Sep 17 00:00:00 2001 From: Bagatur <22008038+baskaryan@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:21:43 -0800 Subject: [PATCH] enable color mode toggle (#585) --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index b505acab..b105d80d 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -102,7 +102,7 @@ const config = { /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ colorMode: { - disableSwitch: true, + disableSwitch: false, respectPrefersColorScheme: true, }, prism: {