Dark mode is great, but better to leave the site with low or no style and to apply personal styling preference in the browser via Dark Reader or Stylus extension.
Being self sufficient is a superpower that should be encouraged on the web. Change colors, fix formatting, remove ads! Power to the user!
I was chuffed a ways back to find a JSON endpoint at the NYTimes.
It was, unfortunately, rather stale.
(It's also since vanished and/or I cannot recall the correct URL. The obvious ones, <https://www.nytimes.com/JSON> and <https://www.nytimes.com/json> don't work. There is a dev portal however: <https://developer.nytimes.com/docs/archive-product/1/overvie...> FAQ: <https://developer.nytimes.com/faq>.)
Although as I've said in another comment, things like this, "go to the top" buttons, cookie banners and the like should be task of the web browser, not of the website.