From 517a719ac7ab5b3fce3d067c6083a012dc3aee1a Mon Sep 17 00:00:00 2001 From: nick Date: Thu, 11 Jun 2026 04:31:28 -0600 Subject: [PATCH] dashboard: force alpha icon recolor test --- firmware/esp32-s3-dashboard/dashboard_config.h | 2 +- firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/firmware/esp32-s3-dashboard/dashboard_config.h b/firmware/esp32-s3-dashboard/dashboard_config.h index 6de731f..7870f52 100644 --- a/firmware/esp32-s3-dashboard/dashboard_config.h +++ b/firmware/esp32-s3-dashboard/dashboard_config.h @@ -1,6 +1,6 @@ #pragma once -static const char *DASHBOARD_VERSION = "0.1.55-vehicle-image-icons"; +static const char *DASHBOARD_VERSION = "0.1.56-alpha-icon-test"; // Update these if your Cargo ESP AP credentials are different. static const char *CARGO_WIFI_SSID = "OverlandController"; diff --git a/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino b/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino index 573a08d..afcd4a9 100644 --- a/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino +++ b/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino @@ -1252,9 +1252,9 @@ static void create_overland_overview_screen() lv_obj_t *coolant_icon = lv_img_create(vehicle_card); lv_img_set_src(coolant_icon, &thermometer_water); - lv_img_set_zoom(coolant_icon, 68); // 150px source -> ~40px display - lv_obj_set_style_img_recolor(coolant_icon, lv_color_hex(0x84CAFF), 0); - lv_obj_set_style_img_recolor_opa(coolant_icon, LV_OPA_COVER, 0); + lv_img_set_zoom(coolant_icon, 100); // 150px source -> ~40px display + lv_obj_set_style_img_recolor(coolant_icon, lv_color_hex(0xFFFFFF), 0); + lv_obj_set_style_img_recolor_opa(coolant_icon, LV_OPA_100, 0); lv_obj_align(coolant_icon, LV_ALIGN_TOP_LEFT, 8, 8); #if LV_USE_METER @@ -1292,9 +1292,9 @@ static void create_overland_overview_screen() lv_obj_t *fuel_icon = lv_img_create(vehicle_card); lv_img_set_src(fuel_icon, &gas_station); - lv_img_set_zoom(fuel_icon, 55); // 150px source -> ~32px display - lv_obj_set_style_img_recolor(fuel_icon, lv_color_hex(0xDDE3EA), 0); - lv_obj_set_style_img_recolor_opa(fuel_icon, LV_OPA_COVER, 0); + lv_img_set_zoom(fuel_icon, 90); // 150px source -> ~32px display + lv_obj_set_style_img_recolor(fuel_icon, lv_color_hex(0xFFFFFF), 0); + lv_obj_set_style_img_recolor_opa(fuel_icon, LV_OPA_100, 0); lv_obj_align(fuel_icon, LV_ALIGN_BOTTOM_LEFT, 8, -10); vehicle_fuel_bar = lv_bar_create(vehicle_card);