Theme addition of different label sizes

Hi,

I do not know what the implications of this are, but would it be possible to add an option to have different label sizes in a theme ?
It would be useful to have 3, 4 or even 5 sizes. For example tiny, small, medium, large, and huge

I know it is possible to explicitly assign styles to lables,
IE, coping a style and then setting a font, color etc.
But, then (as per my understanding) if the current theme changes it would be necesarry to change those style colors to be the same as those in the current theme.

In the meantime could you suggest how to best manage this ?

What you are supposed to do is copy the preexisting style on the label and only change the properties you need. For example:

/* Assuming that you've registered some theme (even the default one) */
lv_theme_t *th = lv_theme_get_current();
lv_obj_t * label = lv_label_create(lv_scr_act(), NULL);
static lv_style_t large_label_style;
lv_style_copy(&large_label_style, th->style.label.prim);
large_label_style.text.font = <larger font>;
lv_label_set_style(label, LV_LABEL_STYLE_MAIN, &large_label_style);

This keeps all of the colors, etc. on the theme while just changing the font.