mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-19 04:08:53 +00:00
make System the default theme
This commit is contained in:
parent
55e6ef0ca2
commit
8edba57dd5
2 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||
- 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)
|
||||
|
|
@ -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"];
|
||||
|
|
|
|||
Loading…
Reference in a new issue