mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-27 05:51:55 +00:00
Add fix to switch to system theme when option is selected
This commit is contained in:
parent
eb87c41128
commit
200b112fe1
1 changed files with 1 additions and 1 deletions
|
|
@ -627,7 +627,7 @@ Dribbblish.on("ready", () => {
|
||||||
checkDarkLightMode();
|
checkDarkLightMode();
|
||||||
break;
|
break;
|
||||||
case "system":
|
case "system":
|
||||||
checkDarkLightMode();
|
toggleDark(window.matchMedia("(prefers-color-scheme: dark)").matches);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue