mirror of https://github.com/Meekdai/Gmeek.git
Update base.html
This commit is contained in:
parent
f252d0f16e
commit
fdce24ca68
|
|
@ -53,6 +53,7 @@ function changeLight(){
|
||||||
function changeAuto(){
|
function changeAuto(){
|
||||||
document.getElementsByTagName("html")[0].attributes.getNamedItem("data-color-mode").value="auto";
|
document.getElementsByTagName("html")[0].attributes.getNamedItem("data-color-mode").value="auto";
|
||||||
document.getElementById("themeSwitch").setAttribute("d",value=IconList["sync"]);
|
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");}
|
if(utterancesLoad==1){utterancesTheme("preferred-color-scheme");}
|
||||||
}
|
}
|
||||||
function modeSwitch(){
|
function modeSwitch(){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue