2020-10-31 14:26:30 +03:00
# Themes
2020-05-20 13:00:17 +03:00
default on light terminal:
![](assets/light-theme.png)
2021-01-28 00:24:27 +03:00
to change the colors of the default theme you have to modify `theme.ron` file
2020-06-15 01:09:02 +03:00
[Ron format ](https://github.com/ron-rs/ron ) located at config path. The path differs depending on the operating system:
2021-07-17 11:31:20 +03:00
* `$HOME/.config/gitui/theme.ron` (mac)
2020-06-15 01:09:02 +03:00
* `$XDG_CONFIG_HOME/gitui/theme.ron` (linux using XDG)
* `$HOME/.config/gitui/theme.ron` (linux)
2021-05-05 20:19:14 +03:00
* `%APPDATA%/gitui/theme.ron` (Windows)
2020-05-20 13:00:17 +03:00
2021-01-28 00:24:27 +03:00
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`
2021-12-09 23:53:59 +03:00
Valid colors can be found in tui-rs' [Color ](https://docs.rs/tui/0.12.0/tui/style/enum.Color.html ) struct.
Notes:
* rgb colors might not be supported in every terminal.
* using a color like `yellow` might appear in whatever your terminal/theme defines for `yellow`