mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-28 19:44:14 +03:00
5b69f7713f
Just for convenience
1.1 KiB
1.1 KiB
Themes
to change the colors of the default theme you have to modify theme.ron
file
Ron format located at config path. The path differs depending on the operating system:
$HOME/.config/gitui/theme.ron
(mac)$XDG_CONFIG_HOME/gitui/theme.ron
(linux using XDG)$HOME/.config/gitui/theme.ron
(linux)%APPDATA%/gitui/theme.ron
(Windows)
Alternatively you may make a theme in the same directory mentioned above with and select with the -t
flag followed by the name of the file in the directory. E.g. If you are on linux calling gitui -t arc.ron
wil use $XDG_CONFIG_HOME/gitui/arc.ron
or $HOME/.config/gitui/arc.ron
Notes:
- rgb colors might not be supported in every terminal.
- using a color like
yellow
might appear in whatever your terminal/theme defines foryellow
- valid colors can be found in tui-rs' Color struct.
- all customizable theme elements can be found in
style.rs
in theimpl Default for Theme
block