diff --git a/static/js/custom.js b/static/js/custom.js index 8461b1623..9bc222791 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -214,9 +214,7 @@ document.addEventListener('DOMContentLoaded', () => { // Toggle light mode toggleSwitch.addEventListener('change', () => { - console.log('Hellon'); if (toggleSwitch.checked) { - document.body.classList.add('light-mode'); localStorage.setItem('theme', 'light'); siteLogo.src = siteLogo.getAttribute('data-dark'); // Switch to light mode logo diff --git a/templates/partials/header.html b/templates/partials/header.html index 2024d0c27..cee7833dd 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -241,6 +241,11 @@ color: #c7c7c7 !important; } +.theme-toggle { + border: none !important; + box-shadow: none !important; +} + .active{ color: #c7c7c7 !important; }