Carry the colour scheme into btop and tmux
Two more applications that keep their own palette and so never followed the desktop. btop was on "Default" and had never been themed at all; tmux had Tokyo Night Moon hardcoded across seventeen lines, which meant a dark status bar sitting under a light terminal in light mode. Both themes are authored rather than borrowed. btop ships a "tokyo-night" theme, but it is the Night variant (#1a1b26) where the rest of this desktop is Moon (#222436), and two Tokyo Nights side by side read as a mistake; it ships no Tokyo Night light theme at all. Colours come from kitty's theme files so a terminal and what runs inside it cannot disagree. tmux follows kitty's shape: the colours move to themes/, tmux.conf sources a generated current-theme.conf, and running servers are re-sourced so an open session changes immediately rather than at next launch. btop is different -- it OWNS btop.conf and rewrites it on exit, so only the color_theme line is edited in place and the file is not symlinked into the repository. btop reads its theme once at startup, so a running instance keeps the old colours; forcing a restart would kill a process the user is watching. The tmux light theme took two passes. Mapping the palette role-for-role put the standard Day accents on a mid-grey panel at 2.74:1 and 2.94:1 -- under the 3:1 floor, on a bar you read at a glance. It now uses Day's darker accent variants on a lighter panel: 4.42:1 and 4.17:1, and 5.01:1 / 4.73:1 for the light text inside the inverted blocks. The helper also now reports every target rather than only kitty. Saying "kitty: applied" while silently skipping three other applications is how a half-applied theme goes unnoticed. Not changed: bat is configured with --theme ansi, which follows the terminal's own palette, so it already tracks kitty with nothing to do. Claude-Session: https://claude.ai/code/session_01BRvzt4H8XXLPVH5MyYdk9L
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# Tokyo Night Day for tmux -- the light counterpart to tokyonight-moon.conf.
|
||||
#
|
||||
# Same structure, same roles, Day's palette. Mapped role for role rather than by
|
||||
# hue: #1b1d2b was text drawn ON an accent block, so it becomes the LIGHT ground
|
||||
# rather than a dark colour, or the status bar would be dark text on a dark
|
||||
# accent in light mode.
|
||||
#
|
||||
# The accents are Day's DARKER variants, not its standard ones. Measured against
|
||||
# the panel, the standard #2e7de9 and #9854f1 give 2.74:1 and 2.94:1 -- under
|
||||
# the 3:1 floor for text. These give 4.42:1 and 4.17:1, and 5.01:1 / 4.73:1 for
|
||||
# the light text drawn on top of them in the inverted blocks.
|
||||
|
||||
set -g mode-style "fg=#1c5bb8,bg=#d0d5e3"
|
||||
|
||||
set -g message-style "fg=#1c5bb8,bg=#d0d5e3"
|
||||
set -g message-command-style "fg=#1c5bb8,bg=#d0d5e3"
|
||||
|
||||
set -g pane-border-style "fg=#1c5bb8"
|
||||
set -g pane-active-border-style "fg=#7847bd"
|
||||
|
||||
set -g status-style "fg=#7847bd,bg=#d0d5e3"
|
||||
set -g status-bg "#e1e2e7"
|
||||
|
||||
set -g status-left "#[fg=#e1e2e7,bg=#7847bd,bold] #S #[fg=#e1e2e7,bg=#7847bd,nobold,nounderscore,noitalics]"
|
||||
set -g status-right "#[fg=#e1e2e7,bg=#1c5bb8,nobold,nounderscore,noitalics]#[fg=#7847bd,bg=#d0d5e3] #{prefix_highlight} #[fg=#d0d5e3,bg=#d0d5e3]#[fg=#7847bd,bg=#d0d5e3] %Y/%m/%d %I:%M %p #[fg=#1c5bb8,bg=#d0d5e3,nobold,nounderscore,noitalics]#[fg=#e1e2e7,bg=#7847bd,bold,italics] #h "
|
||||
|
||||
setw -g window-status-format "#[fg=#e1e2e7,bg=#d0d5e3,nobold,nounderscore,noitalics]#[fg=#1c5bb8,bg=#d0d5e3] #I #W #F #[fg=#e1e2e7,bg=#d0d5e3,nobold,nounderscore,noitalics]"
|
||||
setw -g window-status-current-format "#[fg=#e1e2e7,bg=#d0d5e3,nobold,nounderscore,noitalics]#[fg=#7847bd,bg=#d0d5e3,bold] #I #W #F #[fg=#d0d5e3,bg=#d0d5e3,nobold,nounderscore,noitalics]"
|
||||
|
||||
setw -g window-status-separator ""
|
||||
@@ -0,0 +1,25 @@
|
||||
# Tokyo Night Moon for tmux -- the palette Panama ships.
|
||||
#
|
||||
# Extracted from tmux.conf so the two schemes can be swapped. tmux.conf sources
|
||||
# current-theme.conf, which panama-theme-apps generates from one of these.
|
||||
#
|
||||
# Every colour here was already in tmux.conf; this file is that block verbatim.
|
||||
|
||||
set -g mode-style "fg=#82aaff,bg=#3b4261"
|
||||
|
||||
set -g message-style "fg=#82aaff,bg=#3b4261"
|
||||
set -g message-command-style "fg=#82aaff,bg=#3b4261"
|
||||
|
||||
set -g pane-border-style "fg=#82aaff"
|
||||
set -g pane-active-border-style "fg=#b172b0"
|
||||
|
||||
set -g status-style "fg=#b172b0,bg=#3b4261"
|
||||
set -g status-bg "#222436"
|
||||
|
||||
set -g status-left "#[fg=#1b1d2b,bg=#b172b0,bold] #S #[fg=#1b1d2b,bg=#b172b0,nobold,nounderscore,noitalics]"
|
||||
set -g status-right "#[fg=#1b1d2b,bg=#82aaff,nobold,nounderscore,noitalics]#[fg=#b172b0,bg=#3b4261] #{prefix_highlight} #[fg=#3b4261,bg=#3b4261]#[fg=#b172b0,bg=#3b4261] %Y/%m/%d %I:%M %p #[fg=#82aaff,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#1b1d2b,bg=#b172b0,bold,italics] #h "
|
||||
|
||||
setw -g window-status-format "#[fg=#1b1d2b,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#82aaff,bg=#3b4261] #I #W #F #[fg=#1b1d2b,bg=#3b4261,nobold,nounderscore,noitalics]"
|
||||
setw -g window-status-current-format "#[fg=#1b1d2b,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#b172b0,bg=#3b4261,bold] #I #W #F #[fg=#3b4261,bg=#3b4261,nobold,nounderscore,noitalics]"
|
||||
|
||||
setw -g window-status-separator ""
|
||||
Reference in New Issue
Block a user