Dark by default.

2024-10-28

I've made a minor change/fix that should now see the site in dark mode by default, unless/until you expressly choose to flip to light mode.

As originally written, the goal was to match your browser/OS theme by default. That is, if your browser/OS is in light mode, the site will initially present in light mode. If your browser is in dark mode, the site will be dark mode. And then there's a toggle switch at the bottom if you want to choose the other option.

That was the goal, anyway, but it didn't work right. It just defaulted to light mode all the time. And we can't have that, now can we?! I'll support light mode, but I won't support light mode, y'know?

Well, I decided to go back and fix it tonight. But while I was in there, I ended up deciding that (1) dark mode is superior, and (2) this is my site, I'll do what I want, so (3) I'm just going to go ahead and make it dark mode by default.

So now the site will always present to new visitors in dark mode, and if you feel so inclined, you can choose to toggle to light mode. While I was screwing around with things, I also changed the cookie name, so anyone who had previously used the toggle switch will likely need to do it again. Sorry. It was a necessary sacrifice in the name of progress. (Ok, that was a lie, changing the cookie name was entirely unnecessary and arbitrary, I just sorta also decided that I didn't like the original name I'd used, and may as well rectify that while I'm in here, too.)

Also, I fixed the stupid blade layout for the single post view. So when you click into a post, you actually get to see that post now, instead of a completely empty page. Clicking into the post doesn't really benefit you much at this point, since I haven't built comments or anything yet. But I feel like I should still at least, like, show the intended page content, instead of just a blank grey background.