From 95056eacdff97a710129bbb29e707ab83f5faa72 Mon Sep 17 00:00:00 2001 From: Igor Soarez Date: Sat, 17 Oct 2026 11:07:32 +0100 Subject: theme-gen: derive tmux and ghostty colours for any theme `theme --set ` needs a tmux conf and a ghostty colour file that alacritty-format themes do not provide, so such a name fell back to the generic dark/light tmux colours and left ghostty unchanged, exiting 0. bin/theme-gen reads a theme in alacritty .toml format (by alacritty-theme checkout name or path) or Ghostty's bundled `palette = N=#hex` format, and writes config/tmux/colors/.conf and config/ghostty/colors/, plus config/alacritty/colors/.toml for a ghostty-format source. Generated with it: sonokai, solarized_osaka_night, kanagawabones and dracula_plus_high_contrast, with nvim stand-ins for the three that have no nvim port installed. Parsed keys go through eval, so only plain section.key names and hex values are accepted: a theme file could otherwise run commands. From dot request 20261017-110255-work-laptop-48c22c. --- config/tmux/colors/sonokai.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 config/tmux/colors/sonokai.conf (limited to 'config/tmux/colors/sonokai.conf') diff --git a/config/tmux/colors/sonokai.conf b/config/tmux/colors/sonokai.conf new file mode 100644 index 0000000..2d71aba --- /dev/null +++ b/config/tmux/colors/sonokai.conf @@ -0,0 +1,6 @@ +# sonokai (generated by theme-gen from /Users/sz/src/alacritty/alacritty-theme/themes/sonokai.toml) +set -g status-style fg=#e2e2e3,bg=default +set -g message-style fg=#2c2e34,bg=#e2e2e3,fill=#e2e2e3 +set -g pane-border-style fg=#7f8490 +set -g pane-active-border-style fg=#76cce0 +set -g window-status-current-style fg=#e2e2e3 -- cgit v1.2.3