git-gui: if a background colour is set, set foreground colour as well
commitc382fdd79548a56fadf8f34d3484cf020eda3966
authorPhilipp A. Hartmann <ph@sorgh.de>
Wed, 5 Mar 2008 16:54:22 +0000 (5 17:54 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 6 Mar 2008 04:47:11 +0000 (5 23:47 -0500)
treed0cd485c434726b230e496359add74f85ee9fdb5
parent312fd92b069d26dce20f53e8fa4efea04b12e009
git-gui: if a background colour is set, set foreground colour as well

In several places, only the background colour is set to an explicit
value, sometimes even "white".  This does not work well with dark
colour themes.

This patch tries to set the foreground colour to "black" in those
situations, where an explicit background colour is set without defining
any foreground colour.

Signed-off-by: Philipp A. Hartmann <ph@sorgh.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh
lib/blame.tcl
lib/browser.tcl
lib/choose_font.tcl
lib/console.tcl
lib/error.tcl