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 « J'aime »

Potential side effect of this? Testing now.


Edit: Nope, not that.

1 « J'aime »

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 « J'aime »

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

4 « J'aime »

Can anyone with dark theme confirm this is fixed?

It is not fixed

3 « J'aime »

What is quite possibly the most simple PR ever:

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

6 « J'aime »

This is fixed now.
Thanks @david!

4 « J'aime »