From 3fcd153fdd35d0849f5e3ce7c6792f4506acb901 Mon Sep 17 00:00:00 2001 From: Meekdai Date: Sat, 12 Aug 2023 22:34:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=AE=E6=9A=97-=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E7=9A=84=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/base.html | 2 ++ templates/plist.html | 2 +- templates/post.html | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/base.html b/templates/base.html index 43f157f..a69dddd 100644 --- a/templates/base.html +++ b/templates/base.html @@ -49,11 +49,13 @@ else if(localStorage.getItem("meek_theme")=="light"){changeLight();} function changeDark(){ document.getElementsByTagName("html")[0].attributes.getNamedItem("data-color-mode").value="dark"; document.getElementById("themeSwitch").attributes.getNamedItem("d").value=IconList["moon"]; + document.getElementById("themeSwitch").parentNode.style.color="#00f0ff"; if(utterancesLoad==1){utterancesTheme("dark-blue");} } function changeLight(){ document.getElementsByTagName("html")[0].attributes.getNamedItem("data-color-mode").value="light"; document.getElementById("themeSwitch").attributes.getNamedItem("d").value=IconList["sun"]; + document.getElementById("themeSwitch").parentNode.style.color="#ff5000"; if(utterancesLoad==1){utterancesTheme("github-light");} } function modeSwitch(){ diff --git a/templates/plist.html b/templates/plist.html index 64458fa..becd6c0 100644 --- a/templates/plist.html +++ b/templates/plist.html @@ -56,7 +56,7 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font- - -