Skip to content

The badge's message font color #10803

Answered by chris48s
noszczykmichal asked this question in Q&A
Discussion options

You must be logged in to vote

It is an intentional feature. If the background colour is sufficiently light, we switch the font colour so we're not rendering white text on a light background. We do it so you can read the text.

There are some named colours that are light enough to trigger this. For example

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@noszczykmichal
Comment options

Answer selected by noszczykmichal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants