I'm using dark mode provided by "HN Enhance" (A Firefox extension that enhances news.ycombinator website). Makes life a little easier. There are warnings about the `blue light' from some screens being harmful to the eyes. An optician told me recently that berries are healthy foods for our eyes.
You should talk about this with an ophthalmologist. It could depend also on the lighting. Check that too.
You might look into QLED, RLCD, or E-ink monitors. There’s a lot of posts online about how they reduce eye strain or that you just don’t feel the “glare” that you normally get from looking at a screen. I use a QLED monitor for programming and an e-ink monitor for reading papers / anything static, and it makes a big difference. But, they’re expensive. I wouldn’t do it if I weren’t in software and looking at a screen constantly.