This commit is contained in:
Redson dos Santos Silva 2022-05-19 02:58:20 +00:00 committed by GitHub
commit da921bd8f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 2 deletions

View File

@ -262,7 +262,7 @@ Assign a default value for each setting by passing environment variables to Libr
| Name | Possible values | Default value |
|-------------------------|-----------------------------------------------------------------------------------------------------|---------------|
| `THEME` | `["system", "light", "dark", "black", "dracula", "nord", "laserwave", "violet", "gold", "rosebox"]` | `system` |
| `THEME` | `["system", "light", "dark", "black", "dracula", "nord", "laserwave", "violet", "gold", "rosebox", "solarized"]` | `system` |
| `FRONT_PAGE` | `["default", "popular", "all"]` | `default` |
| `LAYOUT` | `["card", "clean", "compact"]` | `card` |
| `WIDE` | `["on", "off"]` | `off` |

View File

@ -164,6 +164,21 @@
--shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
/* Solarized theme setting */
.solarized {
--accent: #2aa198;
--green: #b58900;
--text: #eee8d5;
--foreground: #002b36;
--background: #002b36;
--outside: #073642;
--post: #073642;
--panel-border: 1px solid #839496;
--highlighted: #002b36;
--visited: #586e75;
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
/* General */
::selection {

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, ["system", "light", "dark", "black", "dracula", "nord", "laserwave", "violet", "gold", "rosebox", "solarized"], "system") %}
</select>
</div>
<legend>Interface</legend>