Skip to content

Theme file not loading on macOS #2007

Closed
@maxhoffmann

Description

@maxhoffmann

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions