Please don't force light mode either. :) My astigmatism means that I find dark mode on backlit screens to be far more readable. For proper accessibility, include both and respect the browser/OS user preference accordingly. Allow the user to override that on a per-app basis if you're feeling fancy.
I find this hard to understand. I find that ghosting due to my astigmatism is far more effectively hidden with light themes. More extreme dark themes tend to be illegible as light ghosting stands out against dark backgrounds.
It also depends a bit on how long ago I had my prescription changed and how much I was able to convince the doctor to do a good job.