mirror of
https://github.com/pi-hole/web.git
synced 2026-04-23 10:19:47 +01:00
Change default theme to auto light/dark theme
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -36,7 +36,7 @@ if(isset($_POST["field"]) &&
|
||||
if(!array_key_exists($webtheme,$available_themes)) {
|
||||
// Fallback to default (light) theme is property is not set
|
||||
// or requested theme is not among the available
|
||||
$webtheme = "default-light";
|
||||
$webtheme = "default-auto";
|
||||
}
|
||||
|
||||
$darkmode = $available_themes[$webtheme][1];
|
||||
|
||||
Reference in New Issue
Block a user