Update 1.js
This commit is contained in:
+2
-2
@@ -389,9 +389,9 @@ const themeMetaTag = document.querySelector('meta[name="theme-color"]');
|
|||||||
|
|
||||||
function updateThemeColor() {
|
function updateThemeColor() {
|
||||||
if (darkmode.isActivated()) {
|
if (darkmode.isActivated()) {
|
||||||
themeMetaTag.setAttribute("content", "#000000"); // Dark mode aktifken siyah renk
|
themeMetaTag.setAttribute("content", "#EFF0D3"); // Dark mode aktifken siyah renk
|
||||||
} else {
|
} else {
|
||||||
themeMetaTag.setAttribute("content", "#000000"); // Açık modda farklı renk
|
themeMetaTag.setAttribute("content", "#EFF0D3"); // Açık modda farklı renk
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user