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.

Soften focused remote pane borders (#570)

Dee8d733d6aadfe
diff --git a/desktop/design/desktop-design-system.md b/desktop/design/desktop-design-system.md
index cee74480a..7f0d2a110 100644
--- a/desktop/design/desktop-design-system.md
+++ b/desktop/design/desktop-design-system.md
@@ -145,9 +145,15 @@ Avoid repeatedly drawing cards inside a dialog.
- Primary text is nearly white or nearly black. Metadata remains readable.
- Blue filled capsules identify the primary action. Blue rows identify the
active keyboard/pointer choice; their labels and secondary text turn white.
-- Focused pane rims use blue for this computer and `AppPalette.teal` for a
- known remote machine. Only the focused pane carries this location cue;
- waiting-question borders retain their amber priority.
+- Focused pane rims share one solid 1-point boundary: blue for this computer,
+ muted teal-gray (`AppPalette.remotePaneFocus`) for a known remote machine.
+ Location is a quiet cue, with less emphasis than the local focus blue; avoid
+ saturated teal, dashes, double rims or glow. The remote token is `#567C77` in
+ light appearance and `#6C9691` in dark, distinct from teal text and badge ink.
+ It retains at least 3:1 contrast against built-in pane grounds and workspace
+ gutters. Only the focused pane carries the cue; unfocused rims stay neutral
+ and waiting-question borders retain their amber priority. The footer's
+ machine name supplies explicit location context alongside the color.
- A stored choice also has a checkmark. Focus and stored selection differ.
- Ordinary controls use a faint neutral fill and one thin rim. Hover increases
the fill. Press increases it again. Focus has a stable 1.5-point blue boundary.
diff --git a/desktop/design/review/2026-10-02-remote-pane-border-comparison.png b/desktop/design/review/2026-10-02-remote-pane-border-comparison.png
new file mode 100644
index 000000000..42e7c1ac4
Binary files /dev/null and b/desktop/design/review/2026-10-02-remote-pane-border-comparison.png differ
diff --git a/desktop/design/terminal-workspace.md b/desktop/design/terminal-workspace.md
index 86e89c699..c0d384c89 100644
--- a/desktop/design/terminal-workspace.md
+++ b/desktop/design/terminal-workspace.md
@@ -64,10 +64,13 @@ keyboard focus. Waiting-question borders remain visible above the veil.
The overlay does not consume the first click or alter terminal state.
Only the focused pane gets a location-colored rim: blue on this computer,
-teal on a known remote machine, including a single or zoomed pane. Unfocused
-panes keep their neutral rim. The existing amber waiting-question border takes
-precedence over the focus color. Location uses machine identity, independently
-of the connection's transport mode.
+muted teal-gray (`AppPalette.remotePaneFocus`) on a known remote machine,
+including a single or zoomed pane. Both use the same solid 1-point boundary.
+Remote location is a quiet cue with less emphasis than local focus blue;
+the footer identifies the machine in text. Unfocused panes keep their neutral
+rim. The existing amber waiting-question border takes precedence over the
+focus color. Location uses machine identity, independently of the connection's
+transport mode.
## Input and review
diff --git a/desktop/lib/shared/theme/app_theme.dart b/desktop/lib/shared/theme/app_theme.dart
index 7148275dd..0d9179137 100644
--- a/desktop/lib/shared/theme/app_theme.dart
+++ b/desktop/lib/shared/theme/app_theme.dart
@@ -265,6 +265,12 @@ abstract final class AppPalette {
/// would drop that text to ~3.1:1 — fixing the icon by breaking the buttons.
static Color get accentOnSurface => AppDesktop.focus;
+ /// A quiet location cue around a focused remote pane. Desaturated separately
+ /// from teal ink so a full perimeter stays subordinate to terminal content.
+ /// Clears 3:1 against every built-in pane ground and workspace gutter.
+ static Color get remotePaneFocus =>
+ AppTheme.pick(const Color(0xFF567C77), const Color(0xFF6C9691));
+
// avatar fill (white text on it); a touch brighter in dark for contrast.
static Color get accentMuted =>
AppTheme.pick(const Color(0xFF3550C8), const Color(0xFF4E6BF0));
@@ -331,7 +337,7 @@ abstract final class AppPalette {
// ground they meet — Paper's search #E2E2DF / Mist's #DCE4EE — not only on
// white: teal 4.90, online 5.02, warn 4.93 there (6.4–6.5 on white).
- // "Owner" badge and remote pane focus — legible on either surface.
+ // Teal ink for badges and labels — legible on either surface.
static Color get teal =>
AppTheme.pick(const Color(0xFF0D6B63), const Color(0xFF2DD4BF));
diff --git a/desktop/lib/widgets/box_chrome.dart b/desktop/lib/widgets/box_chrome.dart
index ddee42fa4..ca3a59c27 100644
--- a/desktop/lib/widgets/box_chrome.dart
+++ b/desktop/lib/widgets/box_chrome.dart
@@ -14,7 +14,7 @@ BorderSide terminalPaneBorder({bool focused = false, bool remote = false}) =>
color: !focused
? grid.AppPalette.divider
: remote
- ? grid.AppPalette.teal
+ ? grid.AppPalette.remotePaneFocus
: grid.AppPalette.accentOnSurface,
width: 1,
);