revert theme changes

This commit is contained in:
kevinkoenig
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 5f72c46e9d
commit 5e0cf9964a
-8
View File
@@ -27,7 +27,6 @@
LvglWrapper* LvglWrapper::_instance = nullptr;
static lv_disp_t* disp;
static lv_theme_t* defaultTheme;
static lv_disp_draw_buf_t disp_buf;
static lv_indev_drv_t touchDriver;
static lv_indev_drv_t keyboard_drv;
@@ -231,13 +230,6 @@ LvglWrapper::LvglWrapper()
lv_init();
init_lvgl_drivers();
defaultTheme = lv_theme_default_init(disp, /*Use the DPI, size, etc from this display*/
makeLvColor(COLOR_THEME_PRIMARY1), makeLvColor(COLOR_THEME_SECONDARY1), /*Primary and secondary palette*/
false, /*Light or dark mode*/
&lv_font_montserrat_14); /*Small, normal, large fonts*/
lv_disp_set_theme(disp, defaultTheme); /*Assign the theme to the display*/
// Create a canvas as the drawing target for libopenui as a hack.
// This is going to be removed
//