summaryrefslogtreecommitdiff
path: root/web/assets/themes/programmer-socks-dark.css
diff options
context:
space:
mode:
authorLibravatar tobi <tobi.smethurst@protonmail.com>2025-05-30 11:06:08 +0200
committerLibravatar kim <gruf@noreply.codeberg.org>2025-05-30 11:06:08 +0200
commit2c73bb3602ebdc40a58b9790cc7f5785e44ea24c (patch)
tree10d80dd2ea9735cda895e9e89bfc9553a42ae4cb /web/assets/themes/programmer-socks-dark.css
parent[feature/frontend] Add four new monospace themes (#4199) (diff)
downloadgotosocial-2c73bb3602ebdc40a58b9790cc7f5785e44ea24c.tar.xz
[feature/frontend] Respect color scheme preference for highlighted code blocks (#4201)
That's it! It just conditionally imports prism light or prism dark depending on the theme. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4201 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'web/assets/themes/programmer-socks-dark.css')
-rw-r--r--web/assets/themes/programmer-socks-dark.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/assets/themes/programmer-socks-dark.css b/web/assets/themes/programmer-socks-dark.css
index 2e1b566ed..0eebcc5b3 100644
--- a/web/assets/themes/programmer-socks-dark.css
+++ b/web/assets/themes/programmer-socks-dark.css
@@ -3,6 +3,9 @@
theme-description: Dark gray and pink theme
*/
+/* Use dark code highlights. */
+@import url("../dist/_prism-dark.css");
+
:root {
/* Define our cool hacker color palette, I'm in. */
--dark-gray: #1b1b1b;