lv_theme_night ready

This commit is contained in:
Gabor Kiss-Vamosi
2017-11-22 23:04:02 +01:00
parent b90f3c7d32
commit c5b9a4eb17
7 changed files with 159 additions and 105 deletions

View File

@@ -83,7 +83,7 @@ lv_obj_t * lv_cont_create(lv_obj_t * par, lv_obj_t * copy)
/*Set the default styles*/
lv_theme_t *th = lv_theme_get_current();
if(th) {
lv_cont_set_style(new_cont, th->cont.filled);
lv_cont_set_style(new_cont, th->cont);
} else {
lv_cont_set_style(new_cont, &lv_style_pretty);
}