summaryrefslogtreecommitdiff
path: root/web/assets/themes/programmer-socks-auto.css
diff options
context:
space:
mode:
authorLibravatar tobi <tobi.smethurst@protonmail.com>2025-05-29 11:48:34 +0200
committerLibravatar tobi <kipvandenbos@noreply.codeberg.org>2025-05-29 11:48:34 +0200
commit6c1b67427873fd07f0b0455e4e34f6241dbe5374 (patch)
tree8d8ec9e458d0f1466ca4308503f1f0187a8e6592 /web/assets/themes/programmer-socks-auto.css
parent[chore] thread_id migration tweaks (#4198) (diff)
downloadgotosocial-6c1b67427873fd07f0b0455e4e34f6241dbe5374.tar.xz
[feature/frontend] Add four new monospace themes (#4199)
This pull request adds four new themes with auto light/dark switching options too! Tested for color contrast etc in firefox with all three local test rig accounts. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4199 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'web/assets/themes/programmer-socks-auto.css')
-rw-r--r--web/assets/themes/programmer-socks-auto.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/assets/themes/programmer-socks-auto.css b/web/assets/themes/programmer-socks-auto.css
new file mode 100644
index 000000000..6fd887eb0
--- /dev/null
+++ b/web/assets/themes/programmer-socks-auto.css
@@ -0,0 +1,10 @@
+/*
+ theme-title: Programmer socks (auto)
+ theme-description: Monospace theme with pink highlights (adapts to system light/dark preferences)
+*/
+
+/* Default to dark theme */
+@import url("programmer-socks-dark.css");
+
+@import url("programmer-socks-light.css") screen and (prefers-color-scheme: light);
+@import url("programmer-socks-dark.css") screen and (prefers-color-scheme: dark);