From 5e250ebe29b3af2ceeacd397a5d6d1f58c06111b Mon Sep 17 00:00:00 2001 From: birego Date: Tue, 29 Oct 2024 14:14:37 +0200 Subject: [PATCH] feat: disable dark mode to improve logo and SVG display (#22) --- docusaurus.config.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 997ca87..dc6dd2c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -72,8 +72,12 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ - ({ - navbar: { + ({ colorMode: { + defaultMode: 'light', // Sets light mode as the default + disableSwitch: true, // Disables the mode switch option + respectPrefersColorScheme: false, // Ignores user's OS preference + }, + navbar: { title: 'Kids on Computers', logo: { alt: 'Kids on Computers',