How to add style for tabs in tabview

Description

Hi,
i have 2 tabs(SIGHN UP and LOGIN) how set styles for those tabs.

What MCU/Processor/Board and compiler are you using?

ARM

What LVGL version are you using?

V7.11

What do you want to achieve?

What have you tried so far?

//TabView
    static lv_style_t style_tabview;
    lv_style_init(&style_tabview);
    lv_style_set_bg_color(&style_tabview,LV_STATE_DEFAULT,LV_COLOR_PRIMARY);
    lv_style_set_bg_opa(&style_tabview,LV_STATE_DEFAULT,LV_OPA_TRANSP);

    lv_obj_t *tabview;
    tabview = lv_tabview_create(lv_scr_act(), NULL);
    lv_obj_set_size(tabview,450,450);
    lv_obj_add_style(tabview,LV_OBJ_PART_MAIN,&style_tabview);
    lv_obj_align(tabview, logo_title, LV_ALIGN_OUT_BOTTOM_MID, 0, 40);
    lv_obj_t *tab1 = lv_tabview_add_tab(tabview, "SIGN UP");
    lv_obj_add_style(tab1,LV_OBJ_PART_MAIN,&style_tabview);
    lv_obj_t *tab2 = lv_tabview_add_tab(tabview, "LOGIN");
    lv_obj_add_style(tab2,LV_OBJ_PART_MAIN,&style_tabview);

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

Hi,
You have several parts in a tabview object so you should add styles according to these parts.
For example, LV_TABVIEW_PART_TAB_BG refers to the button matrix uses to draw the tabview buttons.
Look at the lvgl documentation here : Tabview (lv_tabview) — LVGL documentation.