{# FOUC-prevention: resolve theme preference and apply data-theme to before any stylesheet loads. Reads localStorage first (client cache), then falls back to the server-rendered ProfileSettings.theme, then to 'system'. The matchMedia listener re-applies when the OS preference flips while the page is open AND the user has 'system' selected. `_ps_global` is reused by the topbar `_ps` set below so the route only hits the DB once per render. #} {% set _ps_global = profile_switcher_data() %} {% set _resolved_theme = _ps_global.profile.theme if _ps_global.show_switcher else 'system' %}
net-alpha is desktop-first. Switch to a tablet or larger screen for the full experience.
{% block content %}{% endblock %}
Loading…
{% include "_settings_drawer.html" %} {% include "_keyboard_cheatsheet.html" %} {% set _fvm = first_visit_modal_data() %} {% if _fvm.show_modal %} {% with accounts=_fvm.accounts %} {% include "_profile_picker_modal.html" %} {% endwith %} {% endif %}