Diet (Fabric/Forge/Quilt)

Diet (Fabric/Forge/Quilt)

6M Downloads

Request: Make UI text colour configurable

COLDW0LF opened this issue · 7 comments

commented

As title suggests; I'm working on a dark GUI for a modpack, and the text on the main Diet GUI is almost invisible!
It'd be great to be able to change the colour of the text in the configs, to match other GUI re-textures.

commented

You already can in the diet-groups.toml configs as described here:
https://github.com/TheIllusiveC4/Diet/wiki/Customizing-Food-Groups

There's a color field for each group.

commented

Good lord, I'm blind! I thought that was for JEI tooltips. facepalm
Thanks for the heads up!

commented

Actually, hold up... it's the TEXT I'm talking about, as in the names of the groups.
I know the bars and percentages can be colored, but the names of the groups aren't, correct?

commented

Ahhh, I see what you mean now. Okay, duly noted, I'll see what I can do.

commented

Haha, already?! Fantastic, thank you so much!

commented

Ah, cracked it! The en_us.json accepts the §x§y color codes, was able to do it in there easily.
You can probably close this, unless it's something you'd want to implement otherwise.
Thanks! :)

commented

I added a config option for it.