Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

fix(device): the chosen pane's rim is Focus green

0xdiego2549b7c5a54bf4
diff --git a/devices/harness-device/firmware/main/ui/habitat/ui_habitat.c b/devices/harness-device/firmware/main/ui/habitat/ui_habitat.c
index 805d3414e..54a9dff6e 100644
--- a/devices/harness-device/firmware/main/ui/habitat/ui_habitat.c
+++ b/devices/harness-device/firmware/main/ui/habitat/ui_habitat.c
@@ -1113,7 +1113,7 @@ static void focus_header(ht_scene_t *f, const char *title)
* FOCUS'S PANE LIST, in the LVGL firmware's TABS picker (swarm_picker_build / _rebuild at
* e96fc50c^), one line to a row (owner, 2026-10-01): black, the 60 x 32 close pill at the top, a
* grey spaced "PANES" at y 62, then a column of cards 8 apart — Geist Medium 28 centred, padded
- * 16 x 10, radius 16, #16161c at 60 % — the pane on the face at full fill with a 1 px accent rim.
+ * 16 x 10, radius 16, #16161c at 60 % — the pane on the face at full fill with a 1 px Focus-green rim.
* The column is centred 10 px below the middle. Four rows is what a 360 px card keeps inside the
* round glass; past four the list scrolls a row at a time. Each card is its own tap; the cross, back.
*/
@@ -1122,7 +1122,7 @@ static void render_focus_panes(ht_scene_t *f)
enum { CARD_X = 53, CARD_W = 360, CARD_H = 58, CARD_GAP = 8, CARD_R = 16 };
const ht_font_t *font = &ht_lv_geist_med_28.base;
uint16_t fg = color(0xeaeaf0), card = color(0x16161c), rest = color(0x0d0d11),
- pressed_fill = color(0x23252f), rim = color(0x5b8cff);
+ pressed_fill = color(0x23252f), rim = color(HT_THEME_VOICE); // Focus green (owner, 2026-10-01)
focus_header(f, "PANES");
if (!s.count) {
focus_centred(f, 180, 348, font, FG, BG, s.loading ? "Loading..." : "No panes in this tab.");
diff --git a/devices/harness-device/firmware/test/test_touch_ui.py b/devices/harness-device/firmware/test/test_touch_ui.py
index edf55e3db..e696bfb17 100644
--- a/devices/harness-device/firmware/test/test_touch_ui.py
+++ b/devices/harness-device/firmware/test/test_touch_ui.py
@@ -1998,7 +1998,7 @@ int main(int argc, char **argv) {
view(AGENTS); scene_take(); portrait(dir,"focus-panes");
int rows=0, rims=0;
for(int i=0;i<scene.count;i++) {
- if (scene.runs[i].box.h == 58 && scene.runs[i].box.border == color(0x5b8cff)) {
+ if (scene.runs[i].box.h == 58 && scene.runs[i].box.border == color(HT_THEME_VOICE)) {
rims++; assert(scene.runs[i].y + 29 < 233); // the first card, above the middle
}
for(int k=0;k<3;k++) if(!strcmp(scene.runs[i].text,names[k])) {