Tweak contrast factor for author colors in editor

pull/411/head
Marcel Klehr 2012-02-06 16:00:08 +01:00
parent d7e29dba0d
commit 169bae6cc9
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ function OUTER(gscope)
}
// Text color
var txtcolor = (colorutils.luminosity(colorutils.css2triple(bgcolor)) < 0.45) ? '#ffffff' : '#000000';
var txtcolor = (colorutils.luminosity(colorutils.css2triple(bgcolor)) < 0.5) ? '#ffffff' : '#000000';
var authorStyle = dynamicCSS.selectorStyle(getAuthorColorClassSelector(
getAuthorClassName(author)));