From a1904e2dc83554d876dc9e23336fe65b2e77ddd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Wed, 15 Dec 2021 20:40:39 +0100 Subject: [PATCH] Change default theme to auto light/dark theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- scripts/pi-hole/php/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/php/theme.php b/scripts/pi-hole/php/theme.php index 21f5acf9..9e719810 100644 --- a/scripts/pi-hole/php/theme.php +++ b/scripts/pi-hole/php/theme.php @@ -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];