mirror of
https://github.com/skoelle/wt32sc01-dashboard.git
synced 2026-09-18 01:40:24 +00:00
explicit set dark
This commit is contained in:
@@ -143,10 +143,11 @@ void display_init() {
|
|||||||
|
|
||||||
lv_theme_t *th = lv_theme_default_init(
|
lv_theme_t *th = lv_theme_default_init(
|
||||||
lv_display_gfx,
|
lv_display_gfx,
|
||||||
lv_palette_main(LV_PALETTE_BLUE),
|
Theme::bg(),
|
||||||
lv_palette_main(LV_PALETTE_CYAN),
|
Theme::text(),
|
||||||
true,
|
true,
|
||||||
LV_FONT_DEFAULT);
|
LV_FONT_DEFAULT);
|
||||||
|
lv_theme_default_set_dark(1);
|
||||||
lv_display_set_theme(lv_display_gfx, th);
|
lv_display_set_theme(lv_display_gfx, th);
|
||||||
|
|
||||||
lv_indev_t *indev = lv_indev_create();
|
lv_indev_t *indev = lv_indev_create();
|
||||||
|
|||||||
Reference in New Issue
Block a user