Theme - distinct style for the same lv_obj_class

Hi @kdluzynski, To achieve what you want I think you have to create your own class for each type of button to diferenciate it in the apply theme callback using lv_obj_check_type() function. If you use LVGL pro you can use subjects to change bind styles and create themes.

This can help you create your own class:

Or instead of two widgets you can create just one button and add custom flags/properties to change its types between red/blue on the theme apply callback