From 6c1b67427873fd07f0b0455e4e34f6241dbe5374 Mon Sep 17 00:00:00 2001 From: tobi Date: Thu, 29 May 2025 11:48:34 +0200 Subject: [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 Co-committed-by: tobi --- web/assets/themes/hacker-auto.css | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 web/assets/themes/hacker-auto.css (limited to 'web/assets/themes/hacker-auto.css') diff --git a/web/assets/themes/hacker-auto.css b/web/assets/themes/hacker-auto.css new file mode 100644 index 000000000..44db6a2ff --- /dev/null +++ b/web/assets/themes/hacker-auto.css @@ -0,0 +1,10 @@ +/* + theme-title: Hacker (auto) + theme-description: Monospace theme with green highlights (adapts to system light/dark preferences) +*/ + +/* Default to dark theme */ +@import url("hacker-dark.css"); + +@import url("hacker-light.css") screen and (prefers-color-scheme: light); +@import url("hacker-dark.css") screen and (prefers-color-scheme: dark); -- cgit v1.3