Add System Theme option to config register

This commit is contained in:
Evan Brierton 2021-11-29 13:27:32 +00:00
parent 3629e883a5
commit 80b4d68835
No known key found for this signature in database
GPG key ID: EEB49EB91D2A0E70
2 changed files with 4 additions and 1 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View file

@ -600,7 +600,7 @@ Dribbblish.on("ready", () => {
Dribbblish.config.register({
area: "Theme",
type: "select",
data: { dark: "Dark", light: "Light", time: "Based on Time" },
data: { dark: "Dark", light: "Light", time: "Based on Time", system: "Based on System Theme" },
order: -1,
key: "theme",
name: "Theme",
@ -621,6 +621,9 @@ Dribbblish.on("ready", () => {
case "time":
checkDarkLightMode();
break;
case "system":
checkDarkLightMode();
break;
}
},
children: [