1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-02 01:26:53 +03:00

clearer highlighting of current line

This commit is contained in:
Jesse Duffield
2022-04-15 09:37:04 +10:00
parent b3e18bd258
commit 6a153acc8f
17 changed files with 212 additions and 77 deletions

View File

@ -26,20 +26,20 @@ gui:
theme:
lightTheme: false # For terminals with a light background
activeBorderColor:
- white
- green
- bold
inactiveBorderColor:
- green
- white
optionsTextColor:
- blue
selectedLineBgColor:
- default
- blue # set to `default` to have no background colour
selectedRangeBgColor:
- blue
cherryPickedCommitBgColor:
- blue
cherryPickedCommitFgColor:
- cyan
cherryPickedCommitFgColor:
- blue
unstagedChangesColor:
- red
commitLength:
@ -349,38 +349,6 @@ gui:
- default
```
## Struggling to see selected line
If you struggle to see the selected line I recommend using the reverse attribute on selected lines like so:
```yaml
gui:
theme:
selectedLineBgColor:
- reverse
selectedRangeBgColor:
- reverse
```
The following has also worked for a couple of people:
```yaml
gui:
theme:
activeBorderColor:
- white
- bold
inactiveBorderColor:
- white
selectedLineBgColor:
- reverse
- blue
```
Alternatively you may have bold fonts disabled in your terminal, in which case enabling bold fonts should solve the problem.
If you're still having trouble please raise an issue.
## Custom Author Color
Lazygit will assign a random color for every commit author in the commits pane by default.