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/ghostty/colors/kanagawabones | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config/ghostty/colors/kanagawabones (limited to 'config/ghostty/colors/kanagawabones') diff --git a/config/ghostty/colors/kanagawabones b/config/ghostty/colors/kanagawabones new file mode 100644 index 0000000..bd1a43b --- /dev/null +++ b/config/ghostty/colors/kanagawabones @@ -0,0 +1,21 @@ +# kanagawabones color scheme (generated by theme-gen from /Applications/Ghostty.app/Contents/Resources/ghostty/themes/Kanagawabones) + +background = #1f1f28 +foreground = #ddd8bb + +palette = 0=#1f1f28 +palette = 1=#e46a78 +palette = 2=#98bc6d +palette = 3=#e5c283 +palette = 4=#7eb3c9 +palette = 5=#957fb8 +palette = 6=#7eb3c9 +palette = 7=#ddd8bb +palette = 8=#49495e +palette = 9=#ec818c +palette = 10=#9ec967 +palette = 11=#f1c982 +palette = 12=#7bc2df +palette = 13=#a98fd2 +palette = 14=#7bc2df +palette = 15=#a8a48d -- cgit v1.2.3