mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-21 00:20:56 +00:00
use better accent colour + add libreddit styles (#281)
* update favicon with new logo * only have 32x32 .ico file * use #d74253 as new accent colour + add old libreddit styles + bolden accented buttons * fix unrenamed libreddit themes
This commit is contained in:
parent
b99412b4a1
commit
7dda8d9bbb
12 changed files with 55 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
/* Black theme setting */
|
||||
.black {
|
||||
--accent: #9a0000;
|
||||
--accent: #aa2434;
|
||||
--green: #00a229;
|
||||
--text: white;
|
||||
--foreground: #0f0f0f;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Dark theme setting */
|
||||
.dark{
|
||||
--accent: red;
|
||||
--accent: #d74253;
|
||||
--green: #5cff85;
|
||||
--text: white;
|
||||
--foreground: #222;
|
||||
|
|
14
static/themes/libredditBlack.css
Normal file
14
static/themes/libredditBlack.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* Libreddit black theme setting */
|
||||
.libredditBlack {
|
||||
--accent: #009a9a;
|
||||
--green: #00a229;
|
||||
--text: white;
|
||||
--foreground: #0f0f0f;
|
||||
--background: black;
|
||||
--outside: black;
|
||||
--post: black;
|
||||
--panel-border: 2px solid #0f0f0f;
|
||||
--highlighted: #0f0f0f;
|
||||
--visited: #aaa;
|
||||
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
14
static/themes/libredditDark.css
Normal file
14
static/themes/libredditDark.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* Libreddit dark theme setting */
|
||||
.libredditDark{
|
||||
--accent: aqua;
|
||||
--green: #5cff85;
|
||||
--text: white;
|
||||
--foreground: #222;
|
||||
--background: #0f0f0f;
|
||||
--outside: #1f1f1f;
|
||||
--post: #161616;
|
||||
--panel-border: 1px solid #333;
|
||||
--highlighted: #333;
|
||||
--visited: #aaa;
|
||||
--shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
||||
}
|
19
static/themes/libredditLight.css
Normal file
19
static/themes/libredditLight.css
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* Libreddit light theme setting */
|
||||
.libredditLight {
|
||||
--accent: #009a9a;
|
||||
--green: #00a229;
|
||||
--text: black;
|
||||
--foreground: #f5f5f5;
|
||||
--background: #ddd;
|
||||
--outside: #ececec;
|
||||
--post: #eee;
|
||||
--panel-border: 1px solid #ccc;
|
||||
--highlighted: white;
|
||||
--visited: #555;
|
||||
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
html:has(> .libredditLight) {
|
||||
/* Hint color theme to browser for scrollbar */
|
||||
color-scheme: light;
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
/* Light theme setting */
|
||||
.light {
|
||||
--accent: #9a0000;
|
||||
--accent: #aa2434;
|
||||
--green: #00a229;
|
||||
--text: black;
|
||||
--foreground: #f5f5f5;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue