Change dark mode settings

This commit is contained in:
stephan 2020-02-25 10:29:20 +01:00
parent b8fa1e15d3
commit 5568f535bd

View File

@ -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 }}");