diff options
author | Alexandre Flament <alex@al-f.net> | 2021-11-19 13:49:16 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-11-19 16:45:50 +0100 |
commit | ec5a82fccd658790708b230516fa6ce93f9c7612 (patch) | |
tree | 4e8c67b41670ccc5bd0132b5b1005eca45ac77bb /searx/settings_defaults.py | |
parent | f6bfc8f4615ba91f3c54687ae9f0dc828507573e (diff) | |
download | searxng-ec5a82fccd658790708b230516fa6ce93f9c7612.tar.gz searxng-ec5a82fccd658790708b230516fa6ce93f9c7612.zip |
[enh] simple theme: add "simple-style" preferences
Diffstat (limited to 'searx/settings_defaults.py')
-rw-r--r-- | searx/settings_defaults.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py index 1a755fb8b..69b6a0fb7 100644 --- a/searx/settings_defaults.py +++ b/searx/settings_defaults.py @@ -19,6 +19,7 @@ logger = logging.getLogger('searx') OUTPUT_FORMATS = ['html', 'csv', 'json', 'rss'] LANGUAGE_CODES = ['all'] + list(l[0] for l in languages) OSCAR_STYLE = ('logicodev', 'logicodev-dark', 'pointhi') +SIMPLE_STYLE = ('auto', 'light', 'dark') CATEGORY_ORDER = [ 'general', 'images', @@ -183,6 +184,7 @@ SCHEMA = { 'default_locale': SettingsValue(str, ''), 'theme_args': { 'oscar_style': SettingsValue(OSCAR_STYLE, 'logicodev'), + 'simple_style': SettingsValue(SIMPLE_STYLE, 'auto'), }, 'results_on_new_tab': SettingsValue(bool, False), 'advanced_search': SettingsValue(bool, False), |