diff --git a/src/pages/download.js b/src/pages/download.js
index 4cab4ec..555fe26 100644
--- a/src/pages/download.js
+++ b/src/pages/download.js
@@ -12,8 +12,13 @@ import useSWR from "swr";
import config from "../config";
import { Helmet } from "react-helmet";
import Spinner from "../components/Spinner";
+import configureDarkMode from "../libs/configureDarkMode";
+
const IndexPage = () => {
+
+ configureDarkMode();
+
const { data } = useSWR(config.builds_api_url, (url) => axios.get(url).then((r) => r.data));
return (
diff --git a/src/pages/index.js b/src/pages/index.js
index 97dcb86..be05e89 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -9,8 +9,12 @@ import Landing from "../sections/Landing";
import About from "../sections/About";
import Team from "../sections/Team";
import Layout from "../components/Layout";
+import configureDarkMode from "../libs/configureDarkMode";
const IndexPage = () => {
+
+ configureDarkMode();
+
return (
diff --git a/src/pages/privacy-policy.js b/src/pages/privacy-policy.js
index dcf54ca..86ce0f2 100644
--- a/src/pages/privacy-policy.js
+++ b/src/pages/privacy-policy.js
@@ -7,8 +7,12 @@
import * as React from "react";
import Layout from "../components/Layout";
import CustomLink from "../components/CustomLink";
+import configureDarkMode from "../libs/configureDarkMode";
const PrivacyPolicyPage = () => {
+
+ configureDarkMode();
+
return (
diff --git a/tailwind.config.js b/tailwind.config.js
index f47644f..84af0cc 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -6,7 +6,7 @@
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
- darkMode: "class",
+ darkMode: ['class'],
i18n: {
locales: ["en-US"],
defaultLocale: "en-US",