Skip to content
About

Dark Mode, Error Pages, and Making the Browser Happy

Added a three-state dark mode toggle, plus proper error and 404 pages for when things go sideways.

1 min readEvergreen6:52amMiami Beach, FL, USA
On this page

A few things that have been sitting on the to-do list.

What happened

Dark mode. There's now a toggle in the header with three states: follow your device, always light, always dark. It remembers your choice across visits. The button cycles through them with a sun, a moon, and a little monitor icon.

Before this, the site only followed your device's preference — no way to override it.

Error pages. If something breaks, you get a real "something went wrong" page now with a try-again button. And if you type a URL that doesn't exist, you get a proper 404 page instead of a blank white screen. Both have links back to the home page.

Meta tags. Added a couple of hints for the browser about what color scheme the site supports — small thing, smoother experience.

Why

All three were polish items. The site worked without them, but these are the small details that make it feel intentional rather than unfinished.


PR: https://github.com/StevieIsmagic/vercel_blog/pull/17

Related posts

Stay in the loop

Newsletter launching soon — follow along via RSS.