[ace2inner] remove unused function boldColorFromColor

pull/2028/head
webzwo0i 2013-12-08 17:22:55 +01:00
parent a714f63597
commit 4dd3584532
1 changed files with 0 additions and 13 deletions

View File

@ -346,19 +346,6 @@ function Ace2Inner(){
}
}
function boldColorFromColor(lightColorCSS)
{
var color = colorutils.css2triple(lightColorCSS);
// amp up the saturation to full
color = colorutils.saturate(color);
// normalize brightness based on luminosity
color = colorutils.scaleColor(color, 0, 0.5 / colorutils.luminosity(color));
return colorutils.triple2css(color);
}
function fadeColor(colorCSS, fadeFrac)
{
var color = colorutils.css2triple(colorCSS);