mirror of https://github.com/ErsatzTV/ErsatzTV.git
Browse Source
Adds a `System` choice to Settings > UI > Theme that follows the light/dark preference of the browser viewing ErsatzTV, and updates live when that preference changes. The theme setting is now stored as an enum in `pages.theme_mode`. Existing installs fall back to the legacy `pages.is_dark_mode` flag until the setting is saved. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>pull/2962/head
8 changed files with 78 additions and 11 deletions
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
namespace ErsatzTV.Application.Configuration; |
||||
|
||||
public enum ThemeMode |
||||
{ |
||||
Dark = 0, |
||||
Light = 1, |
||||
System = 2 |
||||
} |
||||
Loading…
Reference in new issue