Improve visibility of BadBox messages in log view
Review Request #108971 - Created Feb. 15, 2013 and submitted
DarkShade in BadBox messages makes them unreadable with dark view backgrounds. Thus, if the view background is dark (lightness < 0.5), use LightShade
According to the API documentation, 'KColorScheme::shade' should automatically choose the 'right' colour for the shade: Note Shades are chosen such that all shades would contrast with the base color. This means that if base is very dark, the 'dark' shades will be lighter than the base color, with midlight() == shadow(). Conversely, if the base color is very light, the 'light' shades will be darker than the base color, with light() == mid(). It feels like this could be a bug rather than something which should fixed in Kile. Could you check?