explicit set dark

This commit is contained in:
2026-08-02 19:57:12 +02:00
parent aa7b5ee4f5
commit 1a1c5470c1
+3 -2
View File
@@ -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();