{% extends "server/base.html" %} {% import "server/icons.html" as icons %} {% block title %}{{ t.text("server.appearance") }}{% endblock %} {# a part of the settings page, under its top bar #} {% block top %}{% endblock %} {% block body %} {# every change is kept at once; the shell is drawn again in the new look #}
{{ icons.icon("chevron-down") }}
{{ t.text("server.appearance.mode") }}
{% for value, key in (("", "system"), ("light", "light"), ("dark", "dark")) %} {% endfor %}
{% for name, scheme in (("day_theme", "light"), ("night_theme", "dark")) %}
{{ t.text("server.appearance." ~ name) }}
{% for theme in themes %} {% endfor %}
{% endfor %}
{% endblock %}