Skip to content

Commit

Permalink
fix(theme): make the text styles work on the INDICATOR's DEFAULT state (
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor authored Jul 24, 2024
1 parent 03e8d80 commit d5d75d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/themes/default/lv_theme_default.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,11 +431,11 @@ static void style_init(my_theme_t * theme)
lv_style_set_bg_color(&theme->styles.cb_marker, theme->color_card);
lv_style_set_bg_opa(&theme->styles.cb_marker, LV_OPA_COVER);
lv_style_set_radius(&theme->styles.cb_marker, RADIUS_DEFAULT / 2);
lv_style_set_text_font(&theme->styles.cb_marker, theme->base.font_small);
lv_style_set_text_color(&theme->styles.cb_marker, lv_color_white());

style_init_reset(&theme->styles.cb_marker_checked);
lv_style_set_bg_image_src(&theme->styles.cb_marker_checked, LV_SYMBOL_OK);
lv_style_set_text_color(&theme->styles.cb_marker_checked, lv_color_white());
lv_style_set_text_font(&theme->styles.cb_marker_checked, theme->base.font_small);
#endif

#if LV_USE_SWITCH
Expand Down

0 comments on commit d5d75d6

Please sign in to comment.