The diagrams are not visible in dark mode.
document.querySelectorAll('img').forEach(img => img.style.background = 'white');
As a quick hack for anyone else that has the problem (paste into your browser console).Otherwise I'm confused why you mention it.
I think it's fair enough to complain about.
So this isn’t something the user is doing to manipulate the style and layout: their browser is saying “hey, fyi, this user’s local system biases to dark mode” and the site is choosing to respond by styling in a way that breaks diagram visibility.