mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(style): fix the default style colors (#5198)
This commit is contained in:
parent
bc6fd6d40c
commit
5e4342bdf7
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user