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
2 changed files with 29 additions and 31 deletions
Showing only changes of commit 69c7c7d655 - Show all commits

View File

@ -328,7 +328,7 @@
border-radius: var(--border-radius-lg) border-radius: var(--border-radius-lg)
border: var(--border-width) solid var(--border-color) border: var(--border-width) solid var(--border-color)
display: flex display: flex
+padding(1, y) +padding(2, y)
.previews-list-item-thumbnail .previews-list-item-thumbnail
margin: 0 margin: 0

View File

@ -1,8 +1,7 @@
{% load common %} {% load common %}
{# Upload new preview images #} {# Upload new preview images #}
{% load i18n %} {% load i18n %}
<div class="previews-upload"> <div id="add-img-container" class="previews-list">
<div id="add-img-container" class="previews-list">
{{ add_preview_formset.management_form }} {{ add_preview_formset.management_form }}
{{ add_preview_formset.non_form_errors }} {{ add_preview_formset.non_form_errors }}
{% for newform in add_preview_formset %} {% for newform in add_preview_formset %}
@ -34,7 +33,6 @@
{{ inlineform.non_form_errors }} {{ inlineform.non_form_errors }}
{% endwith %} {% endwith %}
{% endfor %} {% endfor %}
</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col text-right mt-3"> <div class="col text-right mt-3">