#How to change theme override font color?

1 messages · Page 1 of 1 (latest)

glad river
#

Hi, I want to change the font color of a Label's theme override via code.
Is Theme.set_color() the correct function, and if yes, what does the parameter "theme_type" mean? Unfortunately the docs are not very helpful here

oblique terrace
#

I had to do it with Godot4 recently:

label.add_theme_color_override("font_color", Color.YELLOW)