diff options
| author | Igor Soarez <igor@soarez.org> | 2026-10-17 11:07:32 +0100 |
|---|---|---|
| committer | Igor Soarez <igor@soarez.org> | 2026-10-17 11:07:32 +0100 |
| commit | 95056eacdff97a710129bbb29e707ab83f5faa72 (patch) | |
| tree | ef8fe50947e506859bc0190bd777c50f2f666453 /config/ghostty/colors/sonokai | |
| parent | c0771c839df57a627ceb21bd398752ba2b1ed3f1 (diff) | |
theme-gen: derive tmux and ghostty colours for any theme
`theme --set <mode> <name>` 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/<name>.conf and config/ghostty/colors/<name>, plus
config/alacritty/colors/<name>.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.
Diffstat (limited to 'config/ghostty/colors/sonokai')
| -rw-r--r-- | config/ghostty/colors/sonokai | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config/ghostty/colors/sonokai b/config/ghostty/colors/sonokai new file mode 100644 index 0000000..9cb18c6 --- /dev/null +++ b/config/ghostty/colors/sonokai @@ -0,0 +1,21 @@ +# sonokai color scheme (generated by theme-gen from /Users/sz/src/alacritty/alacritty-theme/themes/sonokai.toml) + +background = #2c2e34 +foreground = #e2e2e3 + +palette = 0=#181819 +palette = 1=#fc5d7c +palette = 2=#9ed072 +palette = 3=#e7c664 +palette = 4=#76cce0 +palette = 5=#b39df3 +palette = 6=#f39660 +palette = 7=#e2e2e3 +palette = 8=#7f8490 +palette = 9=#fc5d7c +palette = 10=#9ed072 +palette = 11=#e7c664 +palette = 12=#76cce0 +palette = 13=#b39df3 +palette = 14=#f39660 +palette = 15=#e2e2e3 |
