Skip to content

Commit 86df7ae

Browse files
authored
Merge pull request #2184 from Noratrieb/range-diff-colors
Improve range-diff color contrast in dark mode
2 parents 70d72ed + 68d0c2d commit 86df7ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gh_range_diff.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,10 @@ fn process_old_new(
303303
color: rgba(0, 255, 0, 1);
304304
}}
305305
.line-removed-before {{
306-
color: rgba(100, 0, 0, 1);
306+
color: rgb(255, 159, 131);
307307
}}
308308
.line-added-before {{
309-
color: rgba(0, 100, 0, 1);
309+
color: rgba(11, 142, 0, 1);
310310
}}
311311
.word-removed-after {{
312312
color: black;

0 commit comments

Comments
 (0)