Skip to content

Commit 19ed9a7

Browse files
committed
Merge branch 'maint'
* maint: New selection indication and softer colors
2 parents 22faa03 + 9adccb0 commit 19ed9a7

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

git-gui.sh

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@ pack .vpane -anchor n -side top -fill both -expand 1
17591759
#
17601760
frame .vpane.files.index -height 100 -width 200
17611761
label .vpane.files.index.title -text {Staged Changes (Will Be Committed)} \
1762-
-background green
1762+
-background lightgreen
17631763
text $ui_index -background white -borderwidth 0 \
17641764
-width 20 -height 10 \
17651765
-wrap none \
@@ -1779,7 +1779,7 @@ pack $ui_index -side left -fill both -expand 1
17791779
#
17801780
frame .vpane.files.workdir -height 100 -width 200
17811781
label .vpane.files.workdir.title -text {Unstaged Changes (Will Not Be Committed)} \
1782-
-background red
1782+
-background lightsalmon
17831783
text $ui_workdir -background white -borderwidth 0 \
17841784
-width 20 -height 10 \
17851785
-wrap none \
@@ -1796,10 +1796,8 @@ pack $ui_workdir -side left -fill both -expand 1
17961796
.vpane.files add .vpane.files.workdir -sticky nsew
17971797

17981798
foreach i [list $ui_index $ui_workdir] {
1799-
$i tag conf in_diff -font font_uibold
1800-
$i tag conf in_sel \
1801-
-background [$i cget -foreground] \
1802-
-foreground [$i cget -background]
1799+
$i tag conf in_diff -background lightgray
1800+
$i tag conf in_sel -background lightgray
18031801
}
18041802
unset i
18051803

@@ -1957,18 +1955,18 @@ proc trace_current_diff_path {varname args} {
19571955
}
19581956
trace add variable current_diff_path write trace_current_diff_path
19591957

1960-
frame .vpane.lower.diff.header -background orange
1958+
frame .vpane.lower.diff.header -background gold
19611959
label .vpane.lower.diff.header.status \
1962-
-background orange \
1960+
-background gold \
19631961
-width $max_status_desc \
19641962
-anchor w \
19651963
-justify left
19661964
label .vpane.lower.diff.header.file \
1967-
-background orange \
1965+
-background gold \
19681966
-anchor w \
19691967
-justify left
19701968
label .vpane.lower.diff.header.path \
1971-
-background orange \
1969+
-background gold \
19721970
-anchor w \
19731971
-justify left
19741972
pack .vpane.lower.diff.header.status -side left

0 commit comments

Comments
 (0)