From 5e4342bdf720f5aece5ce4776856bd25ed8b8d9b Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Fri, 5 Jan 2024 09:42:21 +0100 Subject: [PATCH] fix(style): fix the default style colors (#5198) --- src/misc/lv_style.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc/lv_style.c b/src/misc/lv_style.c index 734595256..f6e560f70 100644 --- a/src/misc/lv_style.c +++ b/src/misc/lv_style.c @@ -356,7 +356,7 @@ lv_style_value_t lv_style_prop_get_default(lv_style_prop_t prop) }; case LV_STYLE_BG_COLOR: return (lv_style_value_t) { - .color = black + .color = white }; case LV_STYLE_BG_GRAD_COLOR: case LV_STYLE_BORDER_COLOR: @@ -367,7 +367,7 @@ lv_style_value_t lv_style_prop_get_default(lv_style_prop_t prop) case LV_STYLE_TEXT_COLOR: case LV_STYLE_IMAGE_RECOLOR: return (lv_style_value_t) { - .color = white + .color = black }; case LV_STYLE_OPA: case LV_STYLE_OPA_LAYERED: