diff options
author | 2024-01-05 13:57:44 +0800 | |
---|---|---|
committer | 2024-01-05 13:57:44 +0800 | |
commit | eaaf1efff1f5d9b47658541496fb948a3292fe48 (patch) | |
tree | 6ab10c932308513bc5c0445e7f78cf736f39f9ff /pydis_site/wsgi.py | |
parent | Dark: Refactor toggle handling JS (diff) |
Dark: Support system color scheme preference
Added features
- When no preference already stored when page loads, we'll take into
account the system setting and set the theme automatically.
- When the system setting is modified while the site is active, switch
theme automatically.
- The system preference takes lower precedence than saved preference
from the switch toggle, unless the setting is modified while the site
is active.
Miscellaneous refactor.
Diffstat (limited to 'pydis_site/wsgi.py')
0 files changed, 0 insertions, 0 deletions