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.
