Skip to content

Commit

Permalink
Use fixed BLACK and WHITE colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Mitchell committed Aug 29, 2023
1 parent 140b18c commit 9b16b73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions radio/src/gui/colorlcd/themes/etx_lv_theme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ static void style_init(void)
lv_style_init(&styles.bubble_popup);
lv_style_set_bg_opa(&styles.bubble_popup, LV_OPA_COVER);
lv_style_set_pad_all(&styles.bubble_popup, 4);
lv_style_set_border_opa(&styles.bubble_popup, LV_OPA_100);
lv_style_set_border_opa(&styles.bubble_popup, LV_OPA_COVER);
lv_style_set_border_width(&styles.bubble_popup, 3);
lv_style_set_radius(&styles.bubble_popup, 10);
}
Expand Down Expand Up @@ -406,9 +406,9 @@ static void style_init(void)
lv_style_set_bg_color(&styles.cb_marker_checked, makeLvColor(COLOR_THEME_SECONDARY1));
lv_style_set_text_color(&styles.cb_marker_checked, makeLvColor(COLOR_THEME_PRIMARY2));

lv_style_set_bg_color(&styles.bubble_popup, makeLvColor(COLOR_THEME_PRIMARY2));
lv_style_set_border_color(&styles.bubble_popup, makeLvColor(COLOR_THEME_PRIMARY1));
lv_style_set_text_color(&styles.bubble_popup, makeLvColor(COLOR_THEME_PRIMARY1));
lv_style_set_bg_color(&styles.bubble_popup, makeLvColor(COLOR2FLAGS(WHITE)));
lv_style_set_border_color(&styles.bubble_popup, makeLvColor(COLOR2FLAGS(BLACK)));
lv_style_set_text_color(&styles.bubble_popup, makeLvColor(COLOR2FLAGS(BLACK)));
}

/**********************
Expand Down

0 comments on commit 9b16b73

Please sign in to comment.