<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dot.git/config/ghostty/colors/sonokai, branch master</title>
<subtitle>Shell, editor and terminal configuration, and the tools that go with them
</subtitle>
<id>https://git.soarez.net/sz/dot.git/atom?h=master</id>
<link rel='self' href='https://git.soarez.net/sz/dot.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/dot.git/'/>
<updated>2026-10-17T10:07:32+00:00</updated>
<entry>
<title>theme-gen: derive tmux and ghostty colours for any theme</title>
<updated>2026-10-17T10:07:32+00:00</updated>
<author>
<name>Igor Soarez</name>
<email>igor@soarez.org</email>
</author>
<published>2026-10-17T10:07:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/dot.git/commit/?id=95056eacdff97a710129bbb29e707ab83f5faa72'/>
<id>urn:sha1:95056eacdff97a710129bbb29e707ab83f5faa72</id>
<content type='text'>
`theme --set &lt;mode&gt; &lt;name&gt;` 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/&lt;name&gt;.conf and config/ghostty/colors/&lt;name&gt;, plus
config/alacritty/colors/&lt;name&gt;.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.
</content>
</entry>
</feed>
