mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
[ace2inner] remove unused function boldColorFromColor
This commit is contained in:
parent
a714f63597
commit
4dd3584532
1 changed files with 0 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue