StylishThemes / Wikipedia-Dark

:mortar_board: Dark Wikipedia
https://github.com/StylishThemes/Wikipedia-Dark/raw/master/wikipedia-dark.user.css
Other
486 stars 31 forks source link

Mathematical notation has black text #184

Closed awebeer256 closed 3 years ago

awebeer256 commented 3 years ago

The culprit is on line 3953:

img.mwe-math-fallback-image-inline, /* snip */ {
  filter: invert(1) brightness(90%);
}

Removing this rule fixes it: image But that prompts the question: why was that rule created in the first place? Was there a recent change on Wikipedia's backend such that these dynamically generated images are now very light gray instead of very dark? If I disable the userstyle entirely, this stuff is light gray on white, and therefore still nearly invisible! image

the-j0k3r commented 3 years ago

Its working pretty well as is... Removing that rule breaks it, so the issue is on your side only.

Make sure you are using the latest version of style @ 3.5.5

proof

Screenshot 2021-06-02 at 13-40-57 Speed of sound - Wikipedia

awebeer256 commented 11 months ago

Sorry for the 2.5-year vanishing act. :face_with_spiral_eyes:

This depends on the default text colour in your browser settings. Equations will always display as the result of that colour sent through the filter I mentioned before: inverted and then reduced brightness by 10%. My colour settings look like this: image …so equations display as dark grey. If my text colour is set to dark red, they display as cyan. image image Since this is a dark mode theme, being hostile to users who have set their default colours to dark mode colours seems pretty unacceptable to me.