From c42f378184fb45d4369a4914199f8bf23e6c2dc8 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Sun, 10 Feb 2019 06:51:13 +0100 Subject: [PATCH] fix image colors in themes --- lv_themes/lv_theme_alien.c | 1 + lv_themes/lv_theme_material.c | 1 + lv_themes/lv_theme_night.c | 1 + lv_themes/lv_theme_zen.c | 2 ++ 4 files changed, 5 insertions(+) diff --git a/lv_themes/lv_theme_alien.c b/lv_themes/lv_theme_alien.c index 664f57729..22be1dba8 100644 --- a/lv_themes/lv_theme_alien.c +++ b/lv_themes/lv_theme_alien.c @@ -114,6 +114,7 @@ static void basic_init(void) panel.body.border.width = 2; panel.body.border.opa = LV_OPA_60; panel.text.color = lv_color_hsv_to_rgb(_hue, 8, 96); + panel.image.color = lv_color_hsv_to_rgb(_hue, 8, 96); panel.line.color = lv_color_hsv_to_rgb(_hue, 20, 70); /*Scrollbar*/ diff --git a/lv_themes/lv_theme_material.c b/lv_themes/lv_theme_material.c index 6497d7b4d..5a780dd1d 100644 --- a/lv_themes/lv_theme_material.c +++ b/lv_themes/lv_theme_material.c @@ -761,6 +761,7 @@ static void win_init(void) header.body.padding.hor = 0; header.body.padding.ver = 0; header.text.color = LV_COLOR_HEX3(0x333); + header.image.color = LV_COLOR_HEX3(0x333); lv_style_copy(&pr, &def); pr.body.main_color = LV_COLOR_HEX3(0xbbb); diff --git a/lv_themes/lv_theme_night.c b/lv_themes/lv_theme_night.c index 6525c3431..937872d84 100644 --- a/lv_themes/lv_theme_night.c +++ b/lv_themes/lv_theme_night.c @@ -59,6 +59,7 @@ static void basic_init(void) bg.body.grad_color = lv_color_hsv_to_rgb(_hue, 11, 30); bg.text.color = lv_color_hsv_to_rgb(_hue, 5, 95); bg.text.font = _font; + bg.image.color = lv_color_hsv_to_rgb(_hue, 5, 95); lv_style_copy(&sb, &def); sb.body.main_color = lv_color_hsv_to_rgb(_hue, 30, 60); diff --git a/lv_themes/lv_theme_zen.c b/lv_themes/lv_theme_zen.c index 809529c4b..d4677943e 100644 --- a/lv_themes/lv_theme_zen.c +++ b/lv_themes/lv_theme_zen.c @@ -52,6 +52,7 @@ static void basic_init(void) def.body.border.opa = LV_OPA_COVER; def.text.font = _font; def.text.color = LV_COLOR_HEX3(0x444); + def.image.color = LV_COLOR_HEX3(0x444); lv_style_copy(&bg, &def); bg.body.main_color = LV_COLOR_WHITE; @@ -731,6 +732,7 @@ static void win_init(void) header.body.border.part = LV_BORDER_BOTTOM; header.body.border.color = lv_color_hsv_to_rgb(_hue, 10, 90); header.text.color = LV_COLOR_HEX3(0x666); + header.image.color = LV_COLOR_HEX3(0x666); lv_style_copy(&rel, &def); rel.body.empty = 1;