How to DISABLE a label

What I have done until now:

In the material theme, whis labels get the color

COLOR_SCR_TEXT

which applies to the labels I want to modify. If I modify this color, the labels change. This color is applied in the basic section.

static void basic_init(void)
{
style_init_reset(&styles->scr);
lv_style_set_text_color(&styles->scr, LV_STATE_DEFAULT, COLOR_SCR_TEXT);
lv_style_set_value_color(&styles->scr, LV_STATE_DEFAULT, COLOR_SCR_TEXT);
lv_style_set_text_sel_color(&styles->scr, LV_STATE_DEFAULT, COLOR_SCR_TEXT);

then I have added the lines

lv_style_set_text_color(&styles->scr, LV_STATE_DISABLED, COLOR_SCR_TEXT_DIS);
lv_style_set_value_color(&styles->scr, LV_STATE_DISABLED, COLOR_SCR_TEXT_DIS);
lv_style_set_text_sel_color(&styles->scr, LV_STATE_DISABLED, COLOR_SCR_TEXT_DIS);

If the labels I have change with the COLOR_SCR_TEXT, should not change when they are disabled, adding the lines I have addded?

Alex