@@ -99,7 +99,7 @@ pub fn humanCallback(
9999 },
100100 'H' = > {
101101 if (ctx .use_color ) {
102- w .writeAll (color .cyan ) catch return -1 ;
102+ w .writeAll (color .hpp_cyan ) catch return -1 ;
103103 w .writeAll (slice ) catch return -1 ;
104104 w .writeAll (color .reset ) catch return -1 ;
105105 } else {
@@ -108,7 +108,7 @@ pub fn humanCallback(
108108 },
109109 '+' = > {
110110 if (ctx .use_color ) {
111- w .writeAll (color .bright_green ) catch return -1 ;
111+ w .writeAll (color .hpp_quiet_green ) catch return -1 ;
112112 w .writeByte ('+' ) catch return -1 ;
113113 w .writeAll (slice ) catch return -1 ;
114114 w .writeAll (color .reset ) catch return -1 ;
@@ -119,7 +119,7 @@ pub fn humanCallback(
119119 },
120120 '-' = > {
121121 if (ctx .use_color ) {
122- w .writeAll (color .bright_red ) catch return -1 ;
122+ w .writeAll (color .hpp_quiet_red ) catch return -1 ;
123123 w .writeByte ('-' ) catch return -1 ;
124124 w .writeAll (slice ) catch return -1 ;
125125 w .writeAll (color .reset ) catch return -1 ;
@@ -130,7 +130,7 @@ pub fn humanCallback(
130130 },
131131 ' ' = > {
132132 if (ctx .use_color ) {
133- w .writeAll (color .dim ) catch return -1 ;
133+ w .writeAll (color .hpp_fg_dim ) catch return -1 ;
134134 w .writeByte (' ' ) catch return -1 ;
135135 w .writeAll (slice ) catch return -1 ;
136136 w .writeAll (color .reset ) catch return -1 ;
@@ -157,8 +157,8 @@ pub fn writeStat(diff_result: ?*c.git_diff, use_color: bool, w: *Writer) !void {
157157
158158 if (use_color ) {
159159 try w .print ("{s}{d} file{s}{s}, " , .{ color .bold , total_files , if (total_files != 1 ) "s" else "" , color .reset });
160- try w .print ("{s}+{d}{s} " , .{ color .bright_green , total_add , color .reset });
161- try w .print ("{s}-{d}{s}\n " , .{ color .bright_red , total_del , color .reset });
160+ try w .print ("{s}+{d}{s} " , .{ color .hpp_green , total_add , color .reset });
161+ try w .print ("{s}-{d}{s}\n " , .{ color .hpp_pink , total_del , color .reset });
162162 } else {
163163 try w .print ("{d} file{s}, +{d} -{d}\n " , .{ total_files , if (total_files != 1 ) "s" else "" , total_add , total_del });
164164 }
@@ -186,9 +186,9 @@ pub fn writeStat(diff_result: ?*c.git_diff, use_color: bool, w: *Writer) !void {
186186
187187 if (use_color ) {
188188 try w .print (" {s} " , .{path });
189- if (file_add > 0 ) try w .print ("{s}+{d}{s}" , .{ color .bright_green , file_add , color .reset });
189+ if (file_add > 0 ) try w .print ("{s}+{d}{s}" , .{ color .hpp_green , file_add , color .reset });
190190 if (file_add > 0 and file_del > 0 ) try w .writeByte (' ' );
191- if (file_del > 0 ) try w .print ("{s}-{d}{s}" , .{ color .bright_red , file_del , color .reset });
191+ if (file_del > 0 ) try w .print ("{s}-{d}{s}" , .{ color .hpp_pink , file_del , color .reset });
192192 try w .writeByte ('\n ' );
193193 } else {
194194 try w .print (" {s} " , .{path });
0 commit comments