diff --git a/Core/Src/main.c b/Core/Src/main.c index f3dd371..07ec24f 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -181,6 +181,10 @@ int main(void) lv_disp_t * disp = lv_disp_drv_register(&disp_drv); + // load the default theme + lv_theme_t * th = lv_theme_default_init(lv_disp_get_default(), lv_color_hex(0x2BAEE1), lv_color_hex(0x001361), true, LV_FONT_DEFAULT); + lv_disp_set_theme(lv_disp_get_default(), th); + // initialize LVGL touchscreen input lv_indev_drv_t indev_drv; lv_indev_drv_init(&indev_drv);