Tweak contrast factor for author colors in editor
This commit is contained in:
parent
d7e29dba0d
commit
169bae6cc9
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
|
|
Loading…
Reference in a new issue