termui is hard to read with Alacritty themes

Timeline

JoaKing (JoacoG) opened

The command bar of the termui is very hard to read for some themes in Alacritty. I'm using ayu_dark theme (which I love).

I also tried other themes. Some are almost unreadable like catppuccin_frappe or acme, and others are okay like vscode or xterm.

Maybe you can solve this at your end? I understand that this has much to do with how the corresponding theme handles colors, but I think that having light colors for both background and characters is not going to work for most custom themes, unless they have some emphasis in high contrast.

Maybe you could drop the background and put a bar above the commands instead of highlighting the commands with a light color, or maybe you could use a dark color for the characters of commands (white background and black characters, so that the commands stand out but are readable).

NOTE: I don't see guidelines about how to format issues to that I just wrote this as I saw fit.

sudoforge commented

hey there! thanks for making an issue for this.

it's been on my mind for some time. frankly, i see the TUI as something that needs to be replaced (as in, rewritten from scratch), in order to:

  1. use a solid, battle-tested tui library that would allow for a much better TUI experience
  2. provide custom keybinds and theming (as in, being able to change the color of various elements) from the ground up

if you want, you can read a little bit more about my vision for git-bug here.


as a shorter way to address this specific issue (i experience it too -- alacritty and gruvbox dark), we can probably just change the background color.


NOTE: I don't see guidelines about how to format issues to that I just wrote this as I saw fit.

there aren't any at the moment; no worries! you wrote an informative issue :)

sudoforge closed the bug