magit: [PATCH] Make face of the graph of log output lighter on dark backgrounds.

Hi,

with

xterm -bg black -fg white

the graph shown with M-x magit-log RET can not be seen. Since the
color is so dark I guess emacs ends up using black text on black
background.

The attached patch makes the color a little bit lighter so that it is
visible. I tested this for regressions on X and non-X setups with
several different background colors.

From 687e12d8124351f99bb844a5310f347ee2602aa1 Mon Sep 17 00:00:00 2001
From: Timo Juhani Lindfors <timo.lindfors@iki.fi>
Date: Thu, 2 Sep 2010 16:17:18 +0300
Subject: [PATCH] Make face of the graph of log output lighter on dark backgrounds.

This has been tested in the following configurations:

1) xterm -bg black -fg white
2) xterm -bg white -fg black
3) xterm -bg grey -fg black
4) emacs
5) emass -rv
This commit is contained in:
Timo Juhani Lindfors 2010-09-02 16:25:52 +03:00 committed by Phil Jackson
parent 1d662c5343
commit c430cfd093

View file

@ -227,7 +227,7 @@ Many Magit faces inherit from this one by default."
'((((class color) (background light))
:foreground "grey11")
(((class color) (background dark))
:foreground "grey30"))
:foreground "grey80"))
"Face for the graph element of the log output."
:group 'magit)