From 3ff6f6e421aa9fdc8731a08c903aa9c7950257d8 Mon Sep 17 00:00:00 2001 From: tobi Date: Fri, 30 May 2025 12:14:17 +0200 Subject: [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 Co-committed-by: tobi --- web/assets/themes/ecks-pee.css | 3 +++ web/assets/themes/midnight-trip.css | 3 +++ web/assets/themes/moonlight-hunt.css | 3 +++ web/assets/themes/rain-forest.css | 3 +++ 4 files changed, 12 insertions(+) (limited to 'web/assets') 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; -- cgit v1.3