mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-27 05:51:55 +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
|
|
@ -20,3 +20,4 @@ Improved:
|
||||||
- `Connect to Device` interface / selection is now more inline with other context menus
|
- `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)
|
- 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({
|
Dribbblish.config.register({
|
||||||
area: "Theme",
|
area: "Theme",
|
||||||
type: "select",
|
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,
|
order: -1,
|
||||||
key: "theme",
|
key: "theme",
|
||||||
name: "Theme",
|
name: "Theme",
|
||||||
description: `
|
description: `
|
||||||
Select Dark / Bright mode
|
Select Dark / Bright mode
|
||||||
- **Dark**
|
- **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)
|
||||||
- **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)
|
|
||||||
- **Based on Time:** Automatically change Theme at specific Times
|
- **Based on Time:** Automatically change Theme at specific Times
|
||||||
{.muted}
|
{.muted}
|
||||||
`,
|
`,
|
||||||
defaultValue: "time",
|
defaultValue: "system",
|
||||||
showChildren: (val) => {
|
showChildren: (val) => {
|
||||||
if (val == "time") return ["darkModeOnTime", "darkModeOffTime", "bgTheme"];
|
if (val == "time") return ["darkModeOnTime", "darkModeOffTime", "bgTheme"];
|
||||||
return ["bgTheme"];
|
return ["bgTheme"];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue