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개의 좋아요