summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-11-19 17:14:35 +0100
committerGitHub <noreply@github.com>2021-11-19 17:14:35 +0100
commitbc0cf9e83e2b52a45ea9a13ffdace07a622ed0cc (patch)
treea179697bd18097f6368eb14b630aa126cea35857 /searx/webapp.py
parent256ccc4a552ff51a73dc58f33442861870141869 (diff)
parentcf9d161d265ac23cdb1317b8dc878de4235819d3 (diff)
Merge pull request #521 from dalf/simple-theme-style-pref
Simple theme: allow the user to choose auto, light, dark style
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-xsearx/webapp.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 98480e4b6..4dd7ec723 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -174,6 +174,12 @@ _category_names = (
gettext('science')
)
+_simple_style = (
+ gettext('auto'),
+ gettext('light'),
+ gettext('dark')
+)
+
#
timeout_text = gettext('timeout')
parsing_error_text = gettext('parsing error')