From 08ad4ddbfee11515e9ac892531141795ff2784b2 Mon Sep 17 00:00:00 2001 From: bchanot Date: Wed, 7 Oct 2026 12:23:57 +0200 Subject: [PATCH] fix(tmux): dim colours tuned for the iTerm2 dark profile window-active-style must repeat the terminal colours: "default" there inherits window-style since tmux 3, so the active pane was dimmed too. Inactive panes lightened to #353d48 / #a6acb6, visible against the #15191f background. --- tmux.conf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tmux.conf b/tmux.conf index a18706e..bcda2e9 100644 --- a/tmux.conf +++ b/tmux.conf @@ -281,10 +281,12 @@ set -g pane-active-border-style fg=white,bg=white set -g pane-border-style fg=white,bg=default # Dim inactive panes: only cells in "default" colour change (coloured text and -# vim's own background stay as they are); the active pane keeps the terminal -# background. Needs tmux >= 2.1. -set -g window-style fg=colour247,bg=colour234 -set -g window-active-style fg=default,bg=default +# vim's own background stay as they are). The active style must repeat the +# terminal colours: since tmux 3, "default" there inherits window-style, so +# the active pane would be dimmed too. Values = iTerm2 Default profile, dark +# mode (fg #dcdcdc, bg #15191f); a light theme needs the opposite. +set -g window-style fg=#a6acb6,bg=#353d48 +set -g window-active-style fg=#dcdcdc,bg=#15191f # set Message text set-option -g message-style bg=default,fg=red