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=" <body class="
{% if prefs.layout != "" %}{{ prefs.layout }}{% endif %} {% if prefs.layout != "" %}{{ prefs.layout }}{% endif %}
{% if prefs.wide == "on" %} wide{% endif %} {% if prefs.wide == "on" %} wide{% endif %}
{% if prefs.theme == "light" %} light{% endif %}"> {% if prefs.theme != "" %} {{ prefs.theme }}{% endif %}">
<!-- NAVIGATION BAR --> <!-- NAVIGATION BAR -->
<nav> <nav>
<p id="logo"> <p id="logo">

View File

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