Profile text is yellow

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.

1 Like

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:

2 Likes

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

1 Like