Tech Reborn

Tech Reborn

30M Downloads

Unable to change GUI name for Dark GUI Resource Pack

Afrocntrik opened this issue · 5 comments

commented

I'm currently working on an extension for CyanideX's Unity Dark Edition, but I hit a snag. I am unable to find the namespace ID for the machine blocks as it's hard to see with the dark gui theme.
2022-06-19_18 28 03
The example below is showing me changing the color format as it was provided in the en_us.lang file for both Reborn Core and TR.
2022-06-19_18 30 32
At this point I'm wondering if this is even possible with how the mod generates block GUI names.

commented

Block Breaker name is here:

"block.techreborn.block_breaker": "Block Breaker",

commented

Block Breaker name is here:

"block.techreborn.block_breaker": "Block Breaker",

I dont think this will help, as its going to change the block name everwhere.

A possibly solution would be to have a json file that can be overriden by reosurce packs including the gui colors.

commented

We could put the colors into a config, no?

commented

I quite like the idea of adding an official dark mode option 🤔 Shouldnt be a vast amount of work.

commented

I have added a theming system that allows resource packs to alter the text color. Its highly likely some pieces of text arent using the new theme.json. I have also added a built in darkmode resource pack, that a user can opt-in to use.