Skip to content

Commit

Permalink
fix: docs dark mode (DSN-2542) (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaalnaik authored Nov 13, 2024
1 parent 54f32f8 commit 1deeb5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
10 changes: 2 additions & 8 deletions apps/documentation/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 {
Expand Down
5 changes: 0 additions & 5 deletions apps/documentation/src/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ const config: DocsThemeConfig = {
footer: {
content: 'Made with ❤️ by Voiceflow',
},
darkMode: true,
nextThemes: {
forcedTheme: 'light',
defaultTheme: 'light',
},
sidebar: {
defaultMenuCollapseLevel: 1,
},
Expand Down

0 comments on commit 1deeb5a

Please sign in to comment.