Embed css themes to simplify adding and testing new themes (#489)

This commit is contained in:
mikupls 2022-05-21 03:41:31 +02:00 committed by GitHub
parent 1c8bcf33c1
commit 60c7b6b23f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 274 additions and 121 deletions

View file

@ -15,7 +15,7 @@
<div id="theme">
<label for="theme">Theme:</label>
<select name="theme">
{% call utils::options(prefs.theme, ["system", "light", "dark", "black", "dracula", "nord", "laserwave", "violet", "gold", "rosebox"], "system") %}
{% call utils::options(prefs.theme, prefs.available_themes, "system") %}
</select>
</div>
<legend>Interface</legend>