Skip to content

Commit 2873116

Browse files
Use "yellow" instead of ANSI 227. Addresses #249
1 parent 326dfea commit 2873116

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

diff-so-fancy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ sub do_dsf_stuff {
116116
####################################################################
117117
if ($line =~ /^${ansi_color_regex}index /) {
118118
# Print the line color and then the actual line
119-
$meta_color = $1 || DiffHighlight::color_config('color.diff.meta',"\e[38;5;227m");
119+
$meta_color = $1 || DiffHighlight::color_config('color.diff.meta',"\e[38;5;11m");
120120
print horizontal_rule($meta_color);
121121

122122
# Get the next line without incrementing counter while loop
@@ -259,7 +259,7 @@ sub do_dsf_stuff {
259259

260260
if ($file1 && $file2) {
261261
# We may not have extracted this yet, so we pull from the config if not
262-
$meta_color ||= DiffHighlight::color_config('color.diff.meta',"\e[38;5;227m");
262+
$meta_color ||= DiffHighlight::color_config('color.diff.meta',"\e[38;5;11m");
263263

264264
my $change = file_change_string($file1,$file2);
265265

@@ -638,9 +638,9 @@ git config --global color.diff-highlight.oldHighlight "red bold 52"
638638
git config --global color.diff-highlight.newNormal "green bold"
639639
git config --global color.diff-highlight.newHighlight "green bold 22"
640640
641-
git config --global color.diff.meta "227"
641+
git config --global color.diff.meta "yellow"
642642
git config --global color.diff.frag "magenta bold"
643-
git config --global color.diff.commit "227 bold"
643+
git config --global color.diff.commit "yellow bold"
644644
git config --global color.diff.old "red bold"
645645
git config --global color.diff.new "green bold"
646646
git config --global color.diff.whitespace "red reverse"

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ git config --global color.diff-highlight.oldHighlight "red bold 52"
3333
git config --global color.diff-highlight.newNormal "green bold"
3434
git config --global color.diff-highlight.newHighlight "green bold 22"
3535

36-
git config --global color.diff.meta "227"
36+
git config --global color.diff.meta "yellow"
3737
git config --global color.diff.frag "magenta bold"
38-
git config --global color.diff.commit "227 bold"
38+
git config --global color.diff.commit "yellow bold"
3939
git config --global color.diff.old "red bold"
4040
git config --global color.diff.new "green bold"
4141
git config --global color.diff.whitespace "red reverse"

0 commit comments

Comments
 (0)