I prefer bright text on dark backgrounds, so I set my OS accessibility settings to invert my screen.
Presuming your OS has such features, you might find it helpful to invert the screen when looking at pages with light text/dark background.
(I change my screen to normal for such sites.)
HTH