Add "system" theme to settings.

This commit is contained in:
Matthew Crossman 2021-01-18 10:44:51 +11:00
parent 2d973707f3
commit 1d57e29d56
No known key found for this signature in database
GPG key ID: 218BF1ABB2AABA24
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
<body class="
{% if prefs.layout != "" %}{{ prefs.layout }}{% endif %}
{% if prefs.wide == "on" %} wide{% endif %}
{% if prefs.theme == "light" %} light{% endif %}">
{% if prefs.theme != "" %} {{ prefs.theme }}{% endif %}">
<!-- NAVIGATION BAR -->
<nav>
<p id="logo">

View file

@ -14,7 +14,7 @@
<div id="theme">
<label for="theme">Theme:</label>
<select name="theme">
{% call utils::options(prefs.theme, ["dark", "light"], "dark") %}
{% call utils::options(prefs.theme, ["system", "dark", "light"], "system") %}
</select>
</div>
<p>Interface</p>