Allow 2 new options (high contrast themes) for WEBTHEME

Fix #1337

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign 2023-03-23 13:11:03 -03:00
parent ac1cdd1a92
commit 8ae9b56fd8
No known key found for this signature in database
GPG Key ID: AE3C7FC910687F33
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ setup_web_theme(){
# If an invalid theme name was supplied, setup WEBTHEME to use the default-light theme.
if [ -n "${WEBTHEME}" ]; then
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}"
change_setting "WEBTHEME" "${WEBTHEME}"
;;