summaryrefslogtreecommitdiff
path: root/web/assets
diff options
context:
space:
mode:
authorLibravatar tobi <tobi.smethurst@protonmail.com>2025-05-30 12:14:17 +0200
committerLibravatar tobi <kipvandenbos@noreply.codeberg.org>2025-05-30 12:14:17 +0200
commit3ff6f6e421aa9fdc8731a08c903aa9c7950257d8 (patch)
treeac6f2c29cf9390b0d7045cd723e2743bb1e15b5a /web/assets
parent[feature/frontend] Respect color scheme preference for highlighted code block... (diff)
downloadgotosocial-3ff6f6e421aa9fdc8731a08c903aa9c7950257d8.tar.xz
[bugfix/frontend] Fix text-shadow on dark mode themes (#4216)
Just deals with a few remaining straggler bits of css fuckery that I introduced in https://codeberg.org/superseriousbusiness/gotosocial/pulls/4201 Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4216 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'web/assets')
-rw-r--r--web/assets/themes/ecks-pee.css3
-rw-r--r--web/assets/themes/midnight-trip.css3
-rw-r--r--web/assets/themes/moonlight-hunt.css3
-rw-r--r--web/assets/themes/rain-forest.css3
4 files changed, 12 insertions, 0 deletions
diff --git a/web/assets/themes/ecks-pee.css b/web/assets/themes/ecks-pee.css
index b76f16b54..ee7e18f51 100644
--- a/web/assets/themes/ecks-pee.css
+++ b/web/assets/themes/ecks-pee.css
@@ -3,6 +3,9 @@
theme-description: Looks suspiciously like a certain operating system
*/
+/* Use dark code highlights. */
+@import url("../dist/_prism-dark.css");
+
:root {
/* Define our color palette */
--ecks-pee-blurple: #3833ac;
diff --git a/web/assets/themes/midnight-trip.css b/web/assets/themes/midnight-trip.css
index 3f8619098..666549dbe 100644
--- a/web/assets/themes/midnight-trip.css
+++ b/web/assets/themes/midnight-trip.css
@@ -3,6 +3,9 @@
theme-description: Woah
*/
+/* Use dark code highlights. */
+@import url("../dist/_prism-dark.css");
+
/* Theme colors */
:root {
--acid-green: rgb(63, 255, 0);
diff --git a/web/assets/themes/moonlight-hunt.css b/web/assets/themes/moonlight-hunt.css
index 8dcfb0bb6..209d6f8f8 100644
--- a/web/assets/themes/moonlight-hunt.css
+++ b/web/assets/themes/moonlight-hunt.css
@@ -3,6 +3,9 @@
theme-description: Ominous dark blue / black with a tinge of blood red. You may think it all a mere bad dream.
*/
+/* Use dark code highlights. */
+@import url("../dist/_prism-dark.css");
+
:root {
/* Define our palette */
--bleached-bone: #f3e3d4;
diff --git a/web/assets/themes/rain-forest.css b/web/assets/themes/rain-forest.css
index 62763cec3..aad7d4669 100644
--- a/web/assets/themes/rain-forest.css
+++ b/web/assets/themes/rain-forest.css
@@ -7,6 +7,9 @@
color names as reference
v1.0 by xmgz at github */
+/* Use dark code highlights. */
+@import url("../dist/_prism-dark.css");
+
:root {
/* color definitions */
--dgreen1: #003333;