Add high-contrast themes to list of available themes)

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2023-06-14 15:16:08 +02:00
parent 5e8525ee30
commit 0002399916
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD
2 changed files with 6 additions and 0 deletions

View File

@ -874,6 +874,8 @@ void initConfig(struct config *conf)
{ "default-light", "Pi-hole day theme (light)" },
{ "default-dark", "Pi-hole midnight theme (dark)" },
{ "default-darker", "Pi-hole deep-midnight theme (dark)" },
{ "high-contrast", "High Contrast theme (light)" },
{ "high-contrast-dark", "High Contrast theme (dark)" },
{ "lcars", "Star Trek LCARS theme (dark)" }
};
CONFIG_ADD_ENUM_OPTIONS(conf->webserver.interface.theme.a, themes);

View File

@ -577,6 +577,10 @@
# Pi-hole midnight theme (dark)
# - "default-darker"
# Pi-hole deep-midnight theme (dark)
# - "high-contrast"
# High-contrast theme (light)
# - "high-contrast-dark"
# High-contrast theme (dark)
# - "lcars"
# Star Trek LCARS theme (dark)
theme = "default-auto"