Implement Web Assets' theme system and selection, and add 'light' theme #118

Merged
Márton Lente merged 97 commits from martonlente/extensions-website:ui/theme-light into main 2024-05-08 14:20:07 +02:00
Showing only changes of commit fa31cceb03 - Show all commits

View File

@ -107,6 +107,9 @@
</ul> </ul>
<ul class="nav-global-links-right"> <ul class="nav-global-links-right">
<li>
<button class="js-toggle-theme-btn px-2"><i class="js-toggle-theme-btn-icon i-adjust"></i></button>
</li>
<li> <li>
<search> <search>
<form action="{% url "extensions:search" %}" method="GET" class="navbar-search"> <form action="{% url "extensions:search" %}" method="GET" class="navbar-search">
@ -134,10 +137,6 @@
</li> </li>
{% endblock nav-upload %} {% endblock nav-upload %}
<li>
<button class="js-toggle-theme-btn px-2"><i class="js-toggle-theme-btn-icon i-adjust"></i></button>
</li>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<li> <li>
<a class="btn btn-link px-2" href="{% url 'notifications:notifications' %}"> <a class="btn btn-link px-2" href="{% url 'notifications:notifications' %}">