mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Change dark mode settings
This commit is contained in:
parent
b8fa1e15d3
commit
5568f535bd
@ -158,7 +158,7 @@
|
|||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
{% if current_user.is_authenticated and current_user.is_dark %}
|
{% if current_user.is_authenticated and current_user.is_dark %}
|
||||||
DarkReader.enable({"brightness": 100, "contrast": 100, "sepia": 0});
|
DarkReader.enable({"brightness": 150, "contrast": 100, "sepia": 0});
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for flashed_message in get_flashed_messages() %}
|
{% for flashed_message in get_flashed_messages() %}
|
||||||
nopaque.toast("{{ flashed_message }}");
|
nopaque.toast("{{ flashed_message }}");
|
||||||
|
Loading…
Reference in New Issue
Block a user