diff --git a/Theme.js b/Theme.js index 1332ee21..78cec13a 100644 --- a/Theme.js +++ b/Theme.js @@ -20,13 +20,17 @@ function applyTheme(theme) { if (theme === "dark") { document.body.classList.add("dark-theme"); document.body.classList.remove("light-theme"); - themeLabel.style.background = "var(--primary-color)"; + // themeLabel.style.background = "var(--primary-color)"; + themeToggle.setAttribute('title','Switch to Light mode'); themeToggle.checked = true; + } else { document.body.classList.add("light-theme"); document.body.classList.remove("dark-theme"); - themeLabel.style.background = "#fff"; + // themeLabel.style.background = "fff"; + themeToggle.setAttribute('title','Switch to Dark mode'); themeToggle.checked = false; + } } diff --git a/index.html b/index.html index ff3f735a..51cc0c58 100644 --- a/index.html +++ b/index.html @@ -99,8 +99,8 @@ .toggle-container { position: relative; right: 2.5rem; - } + .toggle { width: 130%; @@ -851,7 +851,7 @@

+ Developers