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.

Improve inactive desktop pane contrast (#441)

Deeca042f11d32d
diff --git a/desktop/design/images/workspace-pane-focus.png b/desktop/design/images/workspace-pane-focus.png
index bec62a27c..4905098bc 100644
Binary files a/desktop/design/images/workspace-pane-focus.png and b/desktop/design/images/workspace-pane-focus.png differ
diff --git a/desktop/design/terminal-workspace.md b/desktop/design/terminal-workspace.md
index be7b65cec..d9c43e4ce 100644
--- a/desktop/design/terminal-workspace.md
+++ b/desktop/design/terminal-workspace.md
@@ -95,11 +95,13 @@ dialogs use the same thin frame as a focused pane. Avoid raised cards, shadows,
rounded action pills, and redundant headings. Tabs use concise text labels, with
selection conveyed by background rather than bold type.
-The selected pane stays at full contrast; other panes receive a subtle 30%
-background-color veil over their header and content. Selection follows the
-existing click and keyboard focus actions. Keep the current pane clear while a
-menu or the tab strip temporarily owns keyboard focus. A single or zoomed pane
-stays clear. Waiting-question borders paint above the veil, at full strength.
+The selected pane stays at full contrast; other panes receive a 30% neutral-gray
+veil (`#9D9D9D`) over their header and content, lifting dark backgrounds while
+softening text. In the default Graphite palette, inactive backgrounds render as
+`#404040` (RGB 64, 64, 64). Selection follows the existing click and keyboard
+focus actions. Keep the current pane clear while a menu or the tab strip
+temporarily owns keyboard focus. A single or zoomed pane stays clear.
+Waiting-question borders paint above the veil, at full strength.
This is a paint treatment: retain terminal state and let the first click reach
the pane underneath.
diff --git a/desktop/lib/widgets/pane_grid.dart b/desktop/lib/widgets/pane_grid.dart
index 07e51d330..62912a451 100644
--- a/desktop/lib/widgets/pane_grid.dart
+++ b/desktop/lib/widgets/pane_grid.dart
@@ -1207,14 +1207,14 @@ class _PaneCell extends StatelessWidget {
terminalPaneBorder(focused: !_single && focused),
),
),
- // Mute inactive content without a new layer of hit targets, animation,
- // or changes to terminal colors. Paint attention above the dimming so
+ // A neutral gray veil lifts inactive backgrounds and softens their text
+ // without changing terminal colors. Paint attention above the veil so
// a waiting question keeps its full-strength amber rim. Keep this
// decoration present even when clear: inserting/removing it would
// reparent the terminal and lose its input, scroll and selection state.
foregroundDecoration: BoxDecoration(
color: dimmed
- ? grid.AppPalette.windowBg.withValues(alpha: .30)
+ ? const Color(0xFF9D9D9D).withValues(alpha: .30)
: null,
border: blocked
? Border.all(color: grid.AppPalette.warn, width: 2)