From 10c8e65793497cd7aa93d5b8f52ade3b09cfaab9 Mon Sep 17 00:00:00 2001 From: "xan.lol" Date: Sat, 17 Jan 2026 22:42:17 -0800 Subject: [PATCH] fix: add back style (so the background color continues!!) still need to replace the loading screen with witchsky's color instead of bluesky, but it's back to being fixed! I should've listened to lewis when he said to not remove this! I should've known! --- src/style.css | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/src/style.css b/src/style.css index 9362d6b2b..bed117d3a 100644 --- a/src/style.css +++ b/src/style.css @@ -11,7 +11,40 @@ * * HTML & BODY STYLES IN `web/index.html` and `bskyweb/templates/base.html` */ +:root { + --text: black; + --background: #fefbfb; + --backgroundLight: #fefbfb; +} +@media (prefers-color-scheme: dark) { + :root { + color-scheme: dark; + --text: white; + --background: #222020; + --backgroundLight: #222020; + } +} +html.theme--light { + --text: black; + --background: #fefbfb; + --backgroundLight: #fefbfb; + background-color: #fefbfb; +} +html.theme--dark { + color-scheme: dark; + background-color: #000000; + --text: white; + --background: #000000; + --backgroundLight: #000000; +} +html.theme--dim { + color-scheme: dark; + background-color: #222020; + --text: white; + --background: #222020; + --backgroundLight: #222020; +} /* Buttons and inputs have a font set by UA, so we'll have to reset that */ button, input, @@ -75,11 +108,11 @@ a[role='link'][data-no-underline='1']:hover { pointer-events: none; } .ProseMirror .mention { - color: #ED5345; + color: #ed5345; } .ProseMirror a, .ProseMirror .autolink { - color: #ED5345; + color: #ed5345; } /* OLLIE: TODO -- this is not accessible */ /* Remove focus state on inputs */ -- 2.51.2