Closed bell07 closed 6 years ago
Maybe take a look at the colored chat mod. That could possibly help out.
another option could be changing to a black or blue page...
Chat coloring is not the same as formspec. I think we need a "dark theme" by default till a solution is found
https://forum.minetest.net/viewtopic.php?f=11&t=2736&hilit=Signs
How did they do it for signs or is that not the same thing?
I've learned that colored font in formspec isn't supported unless we use textures for the font.
I've made a request on the minetest github for the developers to add it into the game.
@bell07 temporarily we can just make the backgrounds where you type the default gray so you are able to read the text.
I think I need to start smartfs like themed toolbox to get the formatting in a more easy way to the formspecs, at least for elements supporting colors.
Added theme:get_button() and theme:get_label() to getting easy themed buttons and labels (using new theme attribute textcolor). Additional methods could be added on demand and if formspec engine supports them. Maybe for textlists or tables at the next.
At the time all texts are displayed white on white background. I looked for a way to change the default text color to black but I failed. Help needed! Some certain elements have own color parameter, but not all, and not no general way possible that I can integrate to the framework :-(