Switch to dark theme (#278)

This commit is contained in:
Shadowtrance
2025-05-07 03:52:55 +10:00
committed by GitHub
parent b2647f46bb
commit 870924229a
58 changed files with 77 additions and 15 deletions
+2
View File
@@ -185,6 +185,8 @@ public:
}
lv_obj_align(orientation_dropdown, LV_ALIGN_TOP_RIGHT, 0, 0);
lv_obj_set_style_border_color(orientation_dropdown, lv_color_hex(0xFAFAFA), LV_PART_MAIN);
lv_obj_set_style_border_width(orientation_dropdown, 1, LV_PART_MAIN);
lv_obj_add_event_cb(orientation_dropdown, onOrientationSet, LV_EVENT_VALUE_CHANGED, nullptr);
uint32_t orientation_selected = displayOrientationToOrientationSetting(
lv_display_get_rotation(lv_display_get_default())