From 704820f9d0d5afa8ea215360487f5098b7fc729a Mon Sep 17 00:00:00 2001 From: jinhojang6 Date: Tue, 28 Nov 2023 22:29:44 +0900 Subject: [PATCH] style: use system theme by default --- docusaurus.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index ab17e95..646c0e9 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -69,6 +69,10 @@ const config = { themeConfig: /** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */ ({ + colorMode: { + disableSwitch: false, + respectPrefersColorScheme: true, + }, navbar: { hideOnScroll: true, items: [