Just Enough Effect Descriptions (JEED)

Just Enough Effect Descriptions (JEED)

10M Downloads

The color hex in the tooltip is unreadable for dark colors

aaronhowser1 opened this issue · 3 comments

commented

image

This thing. For dark colors, it blends into the tooltip background. Maybe instead of coloring the hex code, it should be white and then have a colored square (■) after it?

commented

Well that's the actual color that's getting used by the effect. Usually mods that just use black don't intend for the color to be viewed and judging by those icons I'm guessing that that is the case. I've set it so hidden technical effects like those will no longer show up at all and will be completely ignored

commented

Oh I already had a Color util class that did that here
Thing is I'm only using it to change the Color in the JEI page as I wanted this to be the one in the tooltip to be the exact one used in the effect. Guess I'll close this

commented

You can simply brighten the color when it’s too dark, this is how I do it in Stylish Effects (feel free to copy the class): https://github.com/Fuzss/stylisheffects/blob/1.19/Common/src/main/java/fuzs/stylisheffects/client/util/ColorUtil.java