The `list-themes` command is used to preview or list all the available
themes for Ghostty.

If this command is run from a TTY, a TUI preview of the themes will be
shown. While in the preview, `F1` will bring up a help screen and `ESC` will
exit the preview. Other keys that can be used to navigate the preview are
listed in the help screen.

If this command is not run from a TTY, or the output is piped to another
command, a plain list of theme names will be printed to the screen. A plain
list can be forced using the `--plain` CLI flag.

Two different directories will be searched for themes.

The first directory is the `themes` subdirectory of your Ghostty
configuration directory. This is `$XDG_CONFIG_HOME/ghostty/themes` or
`~/.config/ghostty/themes`.

The second directory is the `themes` subdirectory of the Ghostty resources
directory. Ghostty ships with a multitude of themes that will be installed
into this directory. On macOS, this directory is the
`Ghostty.app/Contents/Resources/ghostty/themes`. On Linux, this directory
is the `share/ghostty/themes` (wherever you installed the Ghostty "share"
directory). If you're running Ghostty from the source, this is the
`zig-out/share/ghostty/themes` directory.

You can also set the `GHOSTTY_RESOURCES_DIR` environment variable to point
to the resources directory.

Flags:

  * `--path`: Show the full path to the theme.

  * `--plain`: Force a plain listing of themes.

  * `--color`: Specify the color scheme of the themes included in the list.
               This can be `dark`, `light`, or `all`. The default is `all`.