Skip to content

Commit

Permalink
Update base.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Meekdai committed Apr 2, 2024
1 parent f252d0f commit fdce24c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
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(){
Expand Down

0 comments on commit fdce24c

Please sign in to comment.