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/preferences.py | |
parent | f6bfc8f4615ba91f3c54687ae9f0dc828507573e (diff) | |
download | searxng-ec5a82fccd658790708b230516fa6ce93f9c7612.tar.gz searxng-ec5a82fccd658790708b230516fa6ce93f9c7612.zip |
[enh] simple theme: add "simple-style" preferences
Diffstat (limited to 'searx/preferences.py')
-rw-r--r-- | searx/preferences.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/searx/preferences.py b/searx/preferences.py index 5ff89c969..9c549cc01 100644 --- a/searx/preferences.py +++ b/searx/preferences.py @@ -393,7 +393,13 @@ class Preferences: 'oscar-style': EnumStringSetting( settings['ui']['theme_args']['oscar_style'], is_locked('oscar-style'), - choices=['', 'logicodev', 'logicodev-dark', 'pointhi']), + choices=['', 'logicodev', 'logicodev-dark', 'pointhi'] + ), + 'simple_style': EnumStringSetting( + settings['ui']['theme_args']['simple_style'], + is_locked('simple_style'), + choices=['', 'auto', 'light', 'dark'] + ), 'advanced_search': MapSetting( settings['ui']['advanced_search'], is_locked('advanced_search'), |