Update 1.js

This commit is contained in:
FURK4NGG
2025-02-20 19:03:21 +03:00
committed by GitHub
parent 72c45aea1c
commit ba7111d52d
+2 -2
View File
@@ -2,9 +2,9 @@ const themeMetaTag = document.querySelector('meta[name="theme-color"]');
function updateThemeColor() {
if (document.body.classList.contains("darkmode--activated")) {
themeMetaTag.setAttribute("content", "#100f2c"); // Karanlık Mod Rengi
themeMetaTag.setAttribute("content", "#fff"); // Karanlık Mod Rengi
} else {
themeMetaTag.setAttribute("content", "#000000"); // Açık Mod Rengi
themeMetaTag.setAttribute("content", "#100f2c"); // Açık Mod Rengi
}
}