From 6fa55d78ce5392a1956e79cac6880101241dad15 Mon Sep 17 00:00:00 2001 From: Egor Kraev Date: Tue, 20 Oct 2026 13:00:46 +0200 Subject: [PATCH 1/4] Frame the Hubs menu and the worktree-deletion dialog in the selected tab's blue Both get a 3px border in --accent, the selected tab's background. The confirm dialog is shared with repo removal and host actions; only the worktree deletion gets the frame, via a delete-worktree modifier class. --- src/web/main/styles.css | 6 ++++++ src/web/ui/app.tsx | 4 ++-- test/e2e/contract.ts | 4 +++- test/e2e/fixture.ts | 15 ++++++++++++++- test/e2e/hubs.spec.ts | 22 +++++++++++++++++++++- test/e2e/sidebar.spec.ts | 24 +++++++++++++++++++++++- 6 files changed, 69 insertions(+), 6 deletions(-) diff --git a/src/web/main/styles.css b/src/web/main/styles.css index b95959f..c555e6e 100644 --- a/src/web/main/styles.css +++ b/src/web/main/styles.css @@ -512,6 +512,12 @@ input:focus-visible, box-shadow: 0 12px 36px rgb(0 0 0 / 55%); } +/* Framed thick in the selected tab's blue. */ +.hubs-list, +.confirm-dialog.delete-worktree { + border: 3px solid var(--accent); +} + /* Undo the user agent's centring and colours of an open dialog. */ dialog.preset-picker, dialog.close-dialog, diff --git a/src/web/ui/app.tsx b/src/web/ui/app.tsx index 00eeebd..2dfad91 100644 --- a/src/web/ui/app.tsx +++ b/src/web/ui/app.tsx @@ -189,7 +189,7 @@ const Hubs = ({ client }: { client: HubClient }) => { Hubs {open && ( -