mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-19 04:08:53 +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();
|
||||
break;
|
||||
case "system":
|
||||
checkDarkLightMode();
|
||||
toggleDark(window.matchMedia("(prefers-color-scheme: dark)").matches);
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue