Commits

Pierre-Yves David committed d616e2b

[qt] drop the infamous yellow color (closes #113385)

Yellow is not readable at all on white background

Comments (0)

Files changed (1)

hgviewlib/qt4/hgrepomodel.py

 # XXX make this better than a poor hard written list...
 COLORS = [ "blue", "darkgreen", "red", "green", "darkblue", "purple",
            "cyan", QtCore.Qt.darkYellow, "magenta", "darkred", "darkmagenta",
-           "darkcyan", "gray", "yellow", ]
+           "darkcyan", "gray", ]
 COLORS = [str(QtGui.QColor(x).name()) for x in COLORS]
 #COLORS = [str(color) for color in QtGui.QColor.colorNames()]