--c02ef990e09e42d29db4183251c8b9f7 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 cfeck added a comment. In D11262#237017 , @Pitel wrote: > I guess I should have renamed it from `isLightColor` to something like `isNotAlmostBlack`... The point was to replace almost black colors with real black because it looks better with opacity. IMHO `(0,0,128)`, which is deep blue, is far enough from black to not mess with it because font colors readable on deep blue background might not be readable on black one. Ah okey. I had the impression this was used to decide if light or dark text needs to be used. I wouldn't want to see black text on dark blue buttons :) REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D11262 To: Pitel, mart, #plasma Cc: ragreen, fvogt, cfeck, fredrik, ngraham, abetts, broulik, mvourlakos, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart --c02ef990e09e42d29db4183251c8b9f7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="ascii" Mime-Version: 1.0 View Revision
cfeck added a comment.

In D11262#237017, <= a href=3D"https://phabricator.kde.org/p/Pitel/" style=3D" border-color: #f1f7ff; color: #19558d; background-color: #f1f7ff; border: 1px solid transparent; border-radius: 3px; font-weight: bold; padding: 0 4px;">@Pitel wrote:

I guess I should have renamed it f= rom isLightColor t= o something like isNotA= lmostBlack... The point was to replace almost black colors with real b= lack because it looks better with opacity. IMHO (0,0,128), which is deep blue, is far enough = from black to not mess with it because font colors readable on deep blue ba= ckground might not be readable on black one.

Ah okey. I had the impression this was used to decide if light or dark t= ext needs to be used. I wouldn't want to see black text on dark blue b= uttons :)


REPOSITORY
R1= 20 Plasma Workspace

REVISION DETAIL
https://phabricato= r.kde.org/D11262

To: Pitel, mart= , Plasma
Cc: ragreen, fvogt, cfeck, fredrik, ngraham,= abetts, broulik, mvourlakos, plasma-devel, ZrenBot, lesliezhai, ali-mohame= d, jensreuterberg, sebas, apol, mart
--c02ef990e09e42d29db4183251c8b9f7--