Change default theme to auto light/dark theme

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2021-12-15 20:40:39 +01:00
parent 8a9867785d
commit a1904e2dc8

View File

@@ -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];