dark-background-light-text-extension icon indicating copy to clipboard operation
dark-background-light-text-extension copied to clipboard

math/tex MathJax-Element has dark text

Open j77h opened this issue 6 years ago • 2 comments

Many thanks for this extension. Across a wide range of sites, it works better than any CSS script I've tried.

There's a problem that I've had ever since first making web pages dark. Many math formulas appear in dark text, so are barely visible. For example, on this page math.stackexchange.com/questions/2738360/what-exactly-is-an-equation there are formulas like this <script type="math/tex" id="MathJax-Element-3">x^2-3x+2</script> which appear black.

In this case, with this extension, while the page is loading, at first they appear visible for a moment, then they turn black.

A little feedback on a related issue: For a long time I had similar problems at wikipedia, but when I checked just now, it seems that my firefox got a fallback svg image, which appears correctly. See wikipedia Equation But I do still have problems with some diagrams at wikipedia having invisible dark parts. Will report next time I see one, if you like.

j77h avatar Apr 17 '18 06:04 j77h

In case of MathJax, you can right-click on any formula, choose "Math Settings" → "Math Renderer" and try different ones, pick the one which works best for you. For some reason, all of them works good for me.

m-khvoinitsky avatar Apr 29 '18 17:04 m-khvoinitsky

Great. I was totally unaware of this. For me in ffox, with DBLT on 'stylesheet processor', they all show white text, except for HTML-CSS.

j77h avatar Apr 29 '18 23:04 j77h