浏览代码

No more lightgreen, it's unreadable in solarized color scheme

People complains lightgreen is nearly unreadable in solarized dark color
scheme.  Use green instead, which looks good enough for both
Matthew Wang 10 年前
父节点
当前提交
9d7c723102
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      cdiff.py

+ 1
- 1
cdiff.py 查看文件

@@ -590,7 +590,7 @@ class DiffMarker(object):
590 590
         return colorize(line, 'lightred')
591 591
 
592 592
     def _markup_new(self, line):
593
-        return colorize(line, 'lightgreen')
593
+        return colorize(line, 'green')
594 594
 
595 595
     def _markup_mix(self, line, base_color):
596 596
         del_code = COLORS['reverse'] + COLORS[base_color]