I don't know how this hooks into CSS or if @staff actually did this intentionally or how anything works at all! BUT if you set your app theme to dark in your windows personalization, Cohost gets all dark. Which is cool! A lot of sites actually handle this correctly like Youtube.
can confirm that this is 100% intentional. the browser's rendering engine exports a CSS media feature called prefers-color-scheme that we use to set the site theme.
FAQ
Q: why is this the only way you can change the site theme?
A: when we first added the dark mode we had to choose one of "basing it on prefers-color-scheme" or "having an explicit switch for it" for technical reasons, and we chose the former because we didn't have an easy way of adding an explicit switch for it at the time and I thought it would be too expensive. jae roasts me about this decision every time the topic comes up.
Q: what about people on windows 7/other platforms that don't have a system theme?
A: as I found out at one point, you can also change the effective system theme in the browser settings if you use firefox. but yeah, this is a good question. it's on our radar.
it wasn't too difficult, we had a very easy way of doing it (it's the exact same way we have of doing it now!), we were just trying to make the website Work Without JavaScript at the time (a dropped ideal because turns out it's really fucking difficult to do that in 2022, the Maybe Possible Future Basic HTML UI will have to be a separate frontend if it ever exists). we can still do it at this point, it's just that "redo how dark mode works internally" is so low priority that it hasn't come up.
SO MAYBE SOMEDAY. until then just change your OS setting or see if your browser supports changing it internally
also windows 7 isn't getting security updates anymore and you should probably upgrade your OS at some point
