whoogle-search/app
Ben Busby c41e0fc239
Allow theme to mirror user system settings
Introduces a new config element and environment variable
(WHOOGLE_CONFIG_THEME) for setting the theme of the app. Rather than
just having either light or dark, this allows a user to have their
instance use their current system light/dark preference to determine the
theme to use.

As a result, the dark mode setting (and WHOOGLE_CONFIG_DARK) have been
deprecated, but will still work as expected until a system theme has
been chosen.
2021-06-28 10:26:51 -04:00
..
models Allow theme to mirror user system settings 2021-06-28 10:26:51 -04:00
static Allow theme to mirror user system settings 2021-06-28 10:26:51 -04:00
templates Allow theme to mirror user system settings 2021-06-28 10:26:51 -04:00
utils Hotfix: remove site filter for maps links 2021-05-27 12:01:57 -04:00
__init__.py Allow theme to mirror user system settings 2021-06-28 10:26:51 -04:00
__main__.py Swap out Flask's default web server for Waitress (#32) 2020-05-12 17:14:55 -06:00
filter.py Collapse long result sections into details/summary elements 2021-06-23 18:59:57 -04:00
request.py Skip parsing user agent if absent from request 2021-06-16 10:37:33 -04:00
routes.py Allow theme to mirror user system settings 2021-06-28 10:26:51 -04:00