gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Theme file not loading on macOS

Open maxhoffmann opened this issue 5 months ago • 3 comments

Describe the bug When I override the default theme or try to add a new one, it doesn’t affect gitui’s theme.

To Reproduce Steps to reproduce the behavior:

  1. Install gitui via brew
  2. Add a theme at ~/.config/gitui/theme.ron
  3. Example theme:
(
    line_break: Some(""),
    selection_bg: Some(LightBlue),
)
  1. Open gitui
  2. Colors are still the same and new line operator is still visible.

Expected behavior I expect the theme to change.

Context (please complete the following information):

  • OS/Distro + Version: macOS 13.6.3
  • GitUI Version 0.24.3

Additional context It would help to see where themes are loaded from, in case gitui doesn’t use ~/.config/gitui/. Trying to add a custom theme and loading it via -t also doesn’t lead to any error. It silently fails, so I cannot debug where the gitui loads the themes from.

maxhoffmann avatar Jan 12 '24 10:01 maxhoffmann