octobox/octobox

[Feature request] Add option to follow the System Theme

Open

#2.841 geöffnet am 10. Nov. 2021

Auf GitHub ansehen
 (1 Kommentar) (5 Reaktionen) (0 zugewiesene Personen)Ruby (3.737 Stars) (311 Forks)batch import
accessibilitydesignenhancementhelp wanted

Beschreibung

💥 Proposal

Add a third Theme options: Follow System Default theme.

Motivation

Most modern apps and websites offer at least 3 themes by default:

  • Light
  • Dark
  • System Default

Octobox is missing the third one. The System Default theme would follow the theme set by the browser and automatically switch to the appropriate one accordingly.

The browser can also follow the System Default theme itself: If the user switches the OS theme to light or dark, the browser changes its theme, and then it would tell Octobox to change the theme as well.

Pitch

Some modern OSs have the ability to detect the sunrise and sunset time based on the user's location, and switch to a light theme on sunrise or to a dark theme on sunset. This prevents eye strain.

Some other OSs do not have the ability to detect sunrise/sunset, but the user can still manually switch to Light or Dark theme on demand.

In an ideal world, the user would only switch the theme at the OS level, and all apps would follow that setting.

Contributor Guide