Profile text is yellow

AI-generated summary

The discussion Profile text is yellow revolves around Olle11 experiencing an issue with yellow text on user profiles, specifically in the “Joined”, “Last post:”, “Seen”, and “Views” sections. Ondrej suggests checking the theme for any accidental color changes, and provides a guide to target those areas. After investigating, RGJ requests the forum URL to further assist Olle11. Upon examining the forum, RGJ discovers that the issue is caused by the secondary color being set to #fffff4, which results in overly yellow deduced colors. The solution is to set the secondary color to #ffffff. RGJ also notes that this issue might be due to the design, and suggests using primary-medium instead of secondary-medium for the labels. Olle11 confirms that changing the secondary color to #ffffff resolves the issue, and agrees that using primary-medium could be a good solution.

Hi,

When I enter another users profile on my forum the text where it says “Joined” “Last post:” “Seen” “Views” is yellow for som reason so it is barely seen due to the white background.

Everything else looks good. Anyone know how to make this text look normal? I checked the colour palette and the colour is not there so I have no idea why it is yellow.

Best regards
Olle

Maybe you’ve changed the colour in a theme by mistake?

You can use this guide to target those areas and change them to the colour you want.

It doesn’t seem like it according to what I could find in the guide. The theme that I am using doesn’t have these colours in the palette so I am thinking that it must be some HTML/CSS that was changed at some point. I don’t remember changing that at all and it is so random that it is only the collapsed-info-panel. I suppose I can not change the colour in the site text?

Can you share the URL of your forum (maybe privately) ?

@Olle11 has sent me the URL of their forum.

It looks like this

image

The color of this text is secondary-medium which was calculated at #fafa00

It was deduced by reducing the lightness of secondary which has been set to #fffff4 with 50%.

That makes all the colors deduced from it overly yellow.

image

@Olle11 the solution is to set the secondary color in your palette to #ffffff

So why is this happening?

This is not the first time that I see that colors become sort of “uncontrollably weird”.

$secondary-medium: dark-light-diff($secondary, $primary, 50%, -50%) !default;

ChatGPT explains:


So this is by design?

Yes, but since the values on the profile are primary, maybe the labels should be primary-medium instead of secondary-medium :thinking:

Yay it works, thank you for the quick reply! Also interesting find with ChatGPT. Colours can be more advanced than one can think! Primary-medium seems like a good solution for it all :slight_smile:

Best regards
Olle