Add fix to switch to system theme when option is selected

This commit is contained in:
Evan Brierton 2021-11-30 12:00:41 +00:00
parent eb87c41128
commit 200b112fe1
No known key found for this signature in database
GPG key ID: EEB49EB91D2A0E70

View file

@ -627,7 +627,7 @@ Dribbblish.on("ready", () => {
checkDarkLightMode();
break;
case "system":
checkDarkLightMode();
toggleDark(window.matchMedia("(prefers-color-scheme: dark)").matches);
break;
}
},