From 2519e0cf4d36f2437be3e7dfcbf2b28ac44eae01 Mon Sep 17 00:00:00 2001 From: Redson Date: Thu, 31 Mar 2022 13:50:20 -0300 Subject: [PATCH 1/3] Adding solarized CSS --- static/style.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/static/style.css b/static/style.css index 24b685e..f7f324c 100644 --- a/static/style.css +++ b/static/style.css @@ -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 { From 36f078705214eeaab98c9bf8e1e0312511fe2d44 Mon Sep 17 00:00:00 2001 From: Redson Date: Thu, 31 Mar 2022 13:55:57 -0300 Subject: [PATCH 2/3] Adding the solarized theme to settings --- templates/settings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/settings.html b/templates/settings.html index 8a70912..6a1db73 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -15,7 +15,7 @@
Interface From 93ac2b4dafdbd4dcfc21e9402a7d106d8d515558 Mon Sep 17 00:00:00 2001 From: Redson Date: Thu, 31 Mar 2022 13:56:17 -0300 Subject: [PATCH 3/3] Adding the new theme to the README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 356028f..8cb3783 100644 --- a/README.md +++ b/README.md @@ -253,7 +253,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` |