From fdce24ca6891f5dde1c8571d2cda7d080cab3ca8 Mon Sep 17 00:00:00 2001 From: Meekdai Date: Tue, 2 Apr 2024 14:09:00 +0800 Subject: [PATCH] Update base.html --- templates/base.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/base.html b/templates/base.html index f3ed74d..f727e62 100644 --- a/templates/base.html +++ b/templates/base.html @@ -53,6 +53,7 @@ function changeLight(){ function changeAuto(){ document.getElementsByTagName("html")[0].attributes.getNamedItem("data-color-mode").value="auto"; document.getElementById("themeSwitch").setAttribute("d",value=IconList["sync"]); + document.getElementById("themeSwitch").parentNode.style.color="var(--fgColor-muted, var(--color-fg-muted));"; if(utterancesLoad==1){utterancesTheme("preferred-color-scheme");} } function modeSwitch(){