mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-24 04:18:43 +00:00
Merge pull request #1338 from pi-hole/add_new_web_themes
Allow high contrast themes for WEBTHEME
This commit is contained in:
@@ -420,7 +420,7 @@ setup_web_theme(){
|
|||||||
# If an invalid theme name was supplied, setup WEBTHEME to use the default-light theme.
|
# If an invalid theme name was supplied, setup WEBTHEME to use the default-light theme.
|
||||||
if [ -n "${WEBTHEME}" ]; then
|
if [ -n "${WEBTHEME}" ]; then
|
||||||
case "${WEBTHEME}" in
|
case "${WEBTHEME}" in
|
||||||
"default-dark" | "default-darker" | "default-light" | "default-auto" | "lcars")
|
"default-dark" | "default-darker" | "default-light" | "default-auto" | "high-contrast" | "high-contrast-dark" | "lcars")
|
||||||
echo " [i] Setting Web Theme based on WEBTHEME variable, using value ${WEBTHEME}"
|
echo " [i] Setting Web Theme based on WEBTHEME variable, using value ${WEBTHEME}"
|
||||||
change_setting "WEBTHEME" "${WEBTHEME}"
|
change_setting "WEBTHEME" "${WEBTHEME}"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user