User summary stats text colour not matching theme

AI-generated summary

The issue of user summary stats text not matching the dark theme has been reported. david shared images showing the inconsistent text color when switching from the default to dark theme. After ruling out a potential side effect of a different change (david, [jomaxro](/t/-/61349/2, 4)), zogstrip suggested a possible solution from another post. However, codinghorror asked for confirmation that the issue was fixed, and david replied that it was not. david then submitted a PR to fix the issue, and dax confirmed that it is now fixed.

Here on Meta, stats look fine in the default theme

but when using the dark theme only some of them change to white text:

إعجابَين (2)

Potential side effect of this? Testing now.


Edit: Nope, not that.

إعجاب واحد (1)

My instance is running a commit before @neil made that change and I’m still seeing the issue, so I don’t think it’s related

Ha! I was just editing my post, not related.

إعجاب واحد (1)

What @awesomerobot is suggesting in this post would prevent this from happening

4 إعجابات

Can anyone with dark theme confirm this is fixed?

It is not fixed

3 إعجابات

What is quite possibly the most simple PR ever:

https://github.com/discourse/discourse/pull/4986

6 إعجابات

This is fixed now.
Thanks @david!

4 إعجابات