Skip to content

Commit d55befd

Browse files
committed
rename therme
to indicated intended light or dark
1 parent 604aef1 commit d55befd

18 files changed

+21
-21
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ REDLIB_ROBOTS_DISABLE_INDEXING=off
1212
REDLIB_PUSHSHIFT_FRONTEND=undelete.pullpush.io
1313

1414
# Default user settings
15-
# Set the default theme (options: light, dark, black, dracula, nord, laserwave, violet, gold, rosebox, gruvboxdark, gruvboxlight)
15+
# Set the default theme (options: dark-black,dark-doomone,dark-dracula,dark-gold,dark-gruvbox,dark-iceberg,dark-laserwave,dark-libreddit,dark-libredditBlack,dark-midnightPurple,dark-nord,dark-rosebox,dark-tokyoNight,dark-violet,dark,light-gruvbox,light-libreddit,light)
1616
REDLIB_DEFAULT_THEME_LIGHT=light
1717
REDLIB_DEFAULT_THEME_DARK=dark
1818
# Set the default front page (options: default, popular, all)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@ Assign a default value for each user-modifiable setting by passing environment v
434434
435435
| Name | Possible values | Default value |
436436
| ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ------------- |
437-
| `THEME_LIGHT` | `["light", "dark", "black", "dracula", "nord", "laserwave", "violet", "gold", "rosebox", "gruvboxdark", "gruvboxlight", "tokyoNight", "icebergDark", "doomone", "libredditBlack", "libredditDark", "libredditLight"]` | `light` |
438-
| `THEME_DARK` | `["light", "dark", "black", "dracula", "nord", "laserwave", "violet", "gold", "rosebox", "gruvboxdark", "gruvboxlight", "tokyoNight", "icebergDark", "doomone", "libredditBlack", "libredditDark", "libredditLight"]` | `dark` |
437+
| `THEME_LIGHT` | `["dark-black","dark-doomone","dark-dracula","dark-gold","dark-gruvbox","dark-iceberg","dark-laserwave","dark-libreddit","dark-libredditBlack","dark-midnightPurple","dark-nord","dark-rosebox","dark-tokyoNight","dark-violet","dark","light-gruvbox","light-libreddit","light"]` | `light` |
438+
| `THEME_DARK` | `["dark-black","dark-doomone","dark-dracula","dark-gold","dark-gruvbox","dark-iceberg","dark-laserwave","dark-libreddit","dark-libredditBlack","dark-midnightPurple","dark-nord","dark-rosebox","dark-tokyoNight","dark-violet","dark","light-gruvbox","light-libreddit","light"]` | `dark` |
439439
| `FRONT_PAGE` | `["default", "popular", "all"]` | `default` |
440440
| `LAYOUT` | `["card", "clean", "compact"]` | `card` |
441441
| `WIDE` | `["on", "off"]` | `off` |

static/themes/black.css renamed to static/themes/dark-black.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Black theme setting */
2-
.black {
2+
.dark-black {
33
--accent: #bb2b3b;
44
--green: #00a229;
55
--text: white;

static/themes/doomone.css renamed to static/themes/dark-doomone.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.doomone {
1+
.dark-doomone {
22
--accent: #51afef;
33
--green: #00a229;
44
--text: #bbc2cf;

static/themes/dracula.css renamed to static/themes/dark-dracula.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Dracula theme setting */
2-
.dracula {
2+
.dark-dracula {
33
--accent: #bd93f9;
44
--green: #50fa7b;
55
--text: #f8f8f2;

static/themes/gold.css renamed to static/themes/dark-gold.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Gold theme setting */
2-
.gold {
2+
.dark-gold {
33
--accent: #f2aa4c;
44
--green: #5cff85;
55
--text: white;

static/themes/gruvboxdark.css renamed to static/themes/dark-gruvbox.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Gruvbox-Dark theme setting */
2-
.gruvboxdark {
2+
.dark-gruvbox {
33
--accent: #8ec07c;
44
--green: #b8bb26;
55
--text: #ebdbb2;

static/themes/icebergDark.css renamed to static/themes/dark-iceberg.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* icebergDark theme setting */
2-
.icebergDark {
2+
.dark-iceberg {
33
--accent: #85a0c7;
44
--green: #b5bf82;
55
--text: #c6c8d1;

static/themes/laserwave.css renamed to static/themes/dark-laserwave.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Laserwave theme setting */
2-
.laserwave {
2+
.dark-laserwave {
33
--accent: #eb64b9;
44
--green: #74dfc4;
55
--text: #e0dfe1;

static/themes/libredditDark.css renamed to static/themes/dark-libreddit.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Libreddit dark theme setting */
2-
.libredditDark{
2+
.dark-libreddit{
33
--accent: aqua;
44
--green: #5cff85;
55
--text: white;

static/themes/libredditBlack.css renamed to static/themes/dark-libredditBlack.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Libreddit black theme setting */
2-
.libredditBlack {
2+
.dark-libredditBlack {
33
--accent: #009a9a;
44
--green: #00a229;
55
--text: white;

static/themes/midnightPurple.css renamed to static/themes/dark-midnightPurple.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* midnightpurple theme setting */
2-
.midnightPurple{
2+
.dark-midnightPurple{
33
--accent: #be6ede;
44
--green: #268F02;
55
--text: white;

static/themes/nord.css renamed to static/themes/dark-nord.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Nord theme setting */
2-
.nord {
2+
.dark-nord {
33
--accent: #8fbcbb;
44
--green: #a3be8c;
55
--text: #eceff4;

static/themes/rosebox.css renamed to static/themes/dark-rosebox.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Rosebox theme setting */
2-
.rosebox {
2+
.dark-rosebox {
33
--accent: #a57562;
44
--green: #a3be8c;
55
--text: white;

static/themes/tokyoNight.css renamed to static/themes/dark-tokyoNight.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Tokyo Night theme setting */
2-
.tokyoNight {
2+
.dark-tokyoNight {
33
--accent: #565f89;
44
--green: #73daca;
55
--text: #a9b1d6;

static/themes/violet.css renamed to static/themes/dark-violet.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Violet theme setting */
2-
.violet {
2+
.dark-violet {
33
--accent: #7c71dd;
44
--green: #5cff85;
55
--text: white;

static/themes/gruvboxlight.css renamed to static/themes/light-gruvbox.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Gruvbox-Light theme setting */
2-
.gruvboxlight {
2+
.light-gruvbox {
33
--accent: #427b58;
44
--green: #79740e;
55
--text: #3c3836;
@@ -12,7 +12,7 @@
1212
--shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
1313
}
1414

15-
html:has(> .gruvboxlight) {
15+
html:has(> .light-gruvbox) {
1616
/* Hint color theme to browser for scrollbar */
1717
color-scheme: light;
1818
}

static/themes/libredditLight.css renamed to static/themes/light-libreddit.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Libreddit light theme setting */
2-
.libredditLight {
2+
.light-libreddit {
33
--accent: #009a9a;
44
--green: #00a229;
55
--text: black;
@@ -13,7 +13,7 @@
1313
--shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
1414
}
1515

16-
html:has(> .libredditLight) {
16+
html:has(> .light-libreddit) {
1717
/* Hint color theme to browser for scrollbar */
1818
color-scheme: light;
1919
}

0 commit comments

Comments
 (0)