Update base.html

This commit is contained in:
Meekdai 2024-04-02 14:15:26 +08:00
parent fdce24ca68
commit a15d7932d9

View File

@ -53,7 +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));";
document.getElementById("themeSwitch").parentNode.style.color="";
if(utterancesLoad==1){utterancesTheme("preferred-color-scheme");}
}
function modeSwitch(){