From 1deeb5aedaae2b38cc6f7c740148f8d845577d55 Mon Sep 17 00:00:00 2001 From: Mikaal Naik Date: Wed, 13 Nov 2024 12:22:05 -0500 Subject: [PATCH] fix: docs dark mode (DSN-2542) (#304) --- apps/documentation/src/styles/globals.css | 10 ++-------- apps/documentation/src/theme.config.tsx | 5 ----- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/apps/documentation/src/styles/globals.css b/apps/documentation/src/styles/globals.css index 87f75e2b3..431db288f 100644 --- a/apps/documentation/src/styles/globals.css +++ b/apps/documentation/src/styles/globals.css @@ -17,8 +17,8 @@ body { } body { - color: var(--foreground); - background: var(--background); + color: #0a0a0a; + background: white; font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -39,12 +39,6 @@ h2 { margin-bottom: 12px; } -@media (prefers-color-scheme: dark) { - html { - color-scheme: dark; - } -} - @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@450&display=swap'); @font-face { diff --git a/apps/documentation/src/theme.config.tsx b/apps/documentation/src/theme.config.tsx index c007b6f04..f70bf1f87 100644 --- a/apps/documentation/src/theme.config.tsx +++ b/apps/documentation/src/theme.config.tsx @@ -20,11 +20,6 @@ const config: DocsThemeConfig = { footer: { content: 'Made with ❤️ by Voiceflow', }, - darkMode: true, - nextThemes: { - forcedTheme: 'light', - defaultTheme: 'light', - }, sidebar: { defaultMenuCollapseLevel: 1, },