Skip to content

Commit d80ded0

Browse files
committed
git-gui: Changed blame header bar background to match main window
The main window's diff header bar background switched from orange to gold recently, and I liked the effect it had on readability of the text. Since I wanted the blame viewer to match, here it is. Though this probably should be a user defined color, or at least a constant somewhere that everyone can reference. Signed-off-by: Shawn O. Pearce <[email protected]>
1 parent 0f32da5 commit d80ded0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/blame.tcl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ constructor new {i_commit i_path} {
6969
make_toplevel top w
7070
wm title $top "[appname] ([reponame]): File Viewer"
7171

72-
frame $w.header -background orange
72+
frame $w.header -background gold
7373
label $w.header.commit_l \
7474
-text {Commit:} \
75-
-background orange \
75+
-background gold \
7676
-anchor w \
7777
-justify left
7878
set w_back $w.header.commit_b
@@ -81,26 +81,26 @@ constructor new {i_commit i_path} {
8181
-borderwidth 0 \
8282
-relief flat \
8383
-state disabled \
84-
-background orange \
85-
-activebackground orange
84+
-background gold \
85+
-activebackground gold
8686
bind $w_back <Button-1> "
8787
if {\[$w_back cget -state\] eq {normal}} {
8888
[cb _history_menu]
8989
}
9090
"
9191
label $w.header.commit \
9292
-textvariable @commit \
93-
-background orange \
93+
-background gold \
9494
-anchor w \
9595
-justify left
9696
label $w.header.path_l \
9797
-text {File:} \
98-
-background orange \
98+
-background gold \
9999
-anchor w \
100100
-justify left
101101
set w_path $w.header.path
102102
label $w_path \
103-
-background orange \
103+
-background gold \
104104
-anchor w \
105105
-justify left
106106
pack $w.header.commit_l -side left

0 commit comments

Comments
 (0)