From 8edba57dd5fb0dd0fe0b0dec356c2b225d147889 Mon Sep 17 00:00:00 2001 From: Send_Nukez Date: Sat, 4 Dec 2021 15:49:51 +0100 Subject: [PATCH] make `System` the default theme --- CHANGELOG.md | 3 ++- src/js/main.js | 8 +++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 279d19e..681bf08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,4 +19,5 @@ Improved: - Only display option to reset setting if it was changed - `Connect to Device` interface / selection is now more inline with other context menus - When casting to a device it shows up as info (next to your profile picture) -- Confirmation modal styles are now more inline with other popups \ No newline at end of file +- Confirmation modal styles are now more inline with other popups +- Made `System` the default theme. Windows users see [this](https://github.com/JulienMaille/dribbblish-dynamic-theme#follow-system-darklight-theme-powershell) \ No newline at end of file diff --git a/src/js/main.js b/src/js/main.js index e015c9a..e640ed6 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -619,19 +619,17 @@ Dribbblish.on("ready", () => { Dribbblish.config.register({ area: "Theme", type: "select", - data: { dark: "Dark", light: "Light", system: "System", time: "Based on Time" }, + data: { system: "System", dark: "Dark", light: "Light", time: "Based on Time" }, order: -1, key: "theme", name: "Theme", description: ` Select Dark / Bright mode - - **Dark** - - **Light** - - **System:** Should work on macOS and Linux out of the box. Windows users read [this](https://github.com/JulienMaille/dribbblish-dynamic-theme#follow-system-darklight-theme-powershell) + - **System:** Use the current system Theme. Should work on macOS and Linux out of the box. Windows users read [this](https://github.com/JulienMaille/dribbblish-dynamic-theme#follow-system-darklight-theme-powershell) - **Based on Time:** Automatically change Theme at specific Times {.muted} `, - defaultValue: "time", + defaultValue: "system", showChildren: (val) => { if (val == "time") return ["darkModeOnTime", "darkModeOffTime", "bgTheme"]; return ["bgTheme"];