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 6dd96705bf - Show all commits

View File

@ -15,11 +15,13 @@
</a> </a>
</li> </li>
<li class="me-auto"> <li class="me-auto">
<div class="align-items-center d-flex">
{% with score_percentage=rating.score %} {% with score_percentage=rating.score %}
<a href="{{ extension.get_ratings_url }}?score={{ rating.score }}"> <a href="{{ extension.get_ratings_url }}?score={{ rating.score }}">
{% include "ratings/components/average.html" with score=rating.score %} {% include "ratings/components/average.html" with score=rating.score %}
</a> </a>
{% endwith %} {% endwith %}
</div>
</li> </li>
<li> <li>
<a href="{{ extension.get_versions_url }}#v{{ rating.version.version|slugify }}"> <a href="{{ extension.get_versions_url }}#v{{ rating.version.version|slugify }}">