Merge pull request #112 from JulienMaille/JulienMaille-patch-1

set default theme mode to "Based on time"
This commit is contained in:
Julien 2021-11-17 07:48:19 +01:00 committed by GitHub
commit 3b248c465b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -566,7 +566,7 @@ Dribbblish.config.register({
key: "theme",
name: "Theme",
description: "Select Dark / Bright mode",
defaultValue: "dark",
defaultValue: "time",
showChildren: (val) => {
if (val == "time") return ["darkModeOnTime", "darkModeOffTime"];
return false;