Redefine box styles to be independent of primary/accent for semantics

This commit is contained in:
Jonas Schäfer
2021-01-16 14:52:49 +01:00
parent a88c5b92dd
commit 00f678a86f
3 changed files with 17 additions and 8 deletions

View File

@@ -61,11 +61,11 @@
<p>The channel was added to your list.</p>
{% endcall %}
<p>The following box contains a notice:</p>
{% call box("accent", "Quota warning") %}
{% call box("warning", "Quota warning") %}
<p>You have nearly reached your HTTP upload storage quota.</p>
{% endcall %}
<p>The following box contains a hint:</p>
{% call box("primary", "Update available") %}
{% call box("hint", "Update available") %}
<p>There is a new version of the Snikket Server available.</p>
{% endcall %}
<p>Finally, the following box has unspecified content:</p>
@@ -84,11 +84,11 @@
<p>The channel was added to your list.</p>
{% endcall %}
<p>The following box contains a notice:</p>
{% call box("accent", "Quota warning", slim=True) %}
{% call box("warning", "Quota warning", slim=True) %}
<p>You have nearly reached your HTTP upload storage quota.</p>
{% endcall %}
<p>The following box contains a hint:</p>
{% call box("primary", "Update available", slim=True) %}
{% call box("hint", "Update available", slim=True) %}
<p>There is a new version of the Snikket Server available.</p>
{% endcall %}
<p>Finally, the following box has unspecified content:</p>