This would still remove the visitors ability to say "I want THIS SITE to be in light/dark mode", without affecting all other sites / apps on their system. This page could support reading from the browser/OS, while still giving the choice on top of that.
Again, this choice was probably implemented ... to give the user a choice.
Some people may not want everything to be light or dark mode. I am one of them.
Some articles may not work well with dark mode.
Like someone above said, some sites implement it as an after-thought. In my case, I'm giving more love to dark-more because there are simply more nice color combinations in dark more than with white.
I don't think the commenter was being rude either, though it's obvious they're frustrated (understandably).
You can choose to cooperate with others or fight them. Usually when we cooperate, things are improved.
It was also unexpected. I didn't even know localStorage could be broken by disabling cookies haha.
It reminds me of the meme where a guy is riding his bike, inserts a stick into his own wheel while riding, falls over (understandably), and then blames someone else for his fall.
This breaks some video conferencing apps. It's a choice I have to make - some broken apps or a bunch of annoying websites.
Some websites use my cookies and localstorage to track me across properties. They do this so they can harvest my profile data and habits and sell them for profit without my permission.
Again, it's a choice and I think it's a fair one to make.
As engineers, we don't exist to punish our users for making choices different from ours. That's a great way to end up without any users. We should make their experience as good as we can and give them value. Sometimes that isn't possible - I can't make a video conference app that's immune to blocking autoplay. That doesn't mean we shouldn't try.
In my case, I was aghast my blog didn't work without cookies. I don't even have ads running on it, and it's static, it should work on my grandmother's toaster!
In broader tracking and privacy context, I also use NextDNS [3] and uBlock Origin [4].
[1] chrome://settings/content/cookies?search=cookies