mirror of https://github.com/spikecodes/libreddit
Merge 93ac2b4daf
into 1c8bcf33c1
This commit is contained in:
commit
da921bd8f9
|
@ -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` |
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue