+
{
titleMetaData.map((title) =>
diff --git a/src/Components/Navigation.js b/src/Components/Navigation.js
index a692784..22941a2 100755
--- a/src/Components/Navigation.js
+++ b/src/Components/Navigation.js
@@ -1,13 +1,13 @@
import React from "react";
import { Link } from 'react-router-dom';
-const Navigation = () => {
+const Navigation = (props) => {
const [currentmode, changeState] = React.useState("Light Mode");
const DocBody = document.getElementById("Apptheme");
const changemode = () => {
currentmode === "Light Mode"
- ? ((DocBody.className = "thememain-dark"), changeState("Dark Mode"))
- : ((DocBody.className = "thememain-white "), changeState("Light Mode"));
+ ? ((DocBody.className = "thememain-dark"), changeState("Dark Mode"), props.dark(true))
+ : ((DocBody.className = "thememain-white "), changeState("Light Mode"), props.dark(false));
};
return (
diff --git a/src/style.css b/src/style.css
index 4aad62c..37129eb 100755
--- a/src/style.css
+++ b/src/style.css
@@ -37,6 +37,10 @@
background: #fff;
}
+.thememain-white h3 {
+ color: #333;
+}
+
.thememain-white .thememain-header {
background: linear-gradient(165deg, #6e60cc, #484389);
color: #fff;