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.
3 lines
124 B
CSS
3 lines
124 B
CSS
@import "/static/css/light-theme.css" screen;
|
|
@import "/static/css/dark-theme.css" screen and (prefers-color-scheme: dark);
|