Skip to content

Commit

Permalink
Update THEMES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yamgent committed Oct 5, 2023
1 parent 33725b8 commit b9c72cb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions THEMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,21 @@ Notes:
* using a color like `yellow` might appear in whatever your terminal/theme defines for `yellow`
* valid colors can be found in tui-rs' [Color](https://docs.rs/tui/0.12.0/tui/style/enum.Color.html) struct.
* all customizable theme elements can be found in [`style.rs` in the `impl Default for Theme` block](https://github.com/extrawurst/gitui/blob/master/src/ui/style.rs#L305)

## Customizing line breaks

If you want to change how the line break is displayed in the diff, you can also specify `line_break` in your `theme.ron`:

```
(
line_break: Some("¶"),
)
```

Note that if you want to turn it off, you should use a blank string:

```
(
line_break: Some(""),
)
```

0 comments on commit b9c72cb

Please sign in to comment.