mirror of
https://github.com/lenaschimmel/queerallyear
synced 2024-11-10 05:54:13 +00:00
Slightly better colors and animation.
This commit is contained in:
parent
3f6d6c9b6f
commit
e85db819cc
2 changed files with 4 additions and 4 deletions
|
@ -80,7 +80,7 @@ const biPink = "#CE3D81";
|
|||
const biViolet = "#A36AA3";
|
||||
const biBlue = "#1E4DB0";
|
||||
|
||||
const aceGrey = "#B2B2B2";
|
||||
const aceGrey = "#A0A0A0";
|
||||
const aceViolet = "#882B8E";
|
||||
|
||||
const panPink = "#EE539C";
|
||||
|
@ -111,7 +111,7 @@ const lebsian7 = "#933514";
|
|||
const polyamRed = "#ED4024";
|
||||
const polyamBlue = "#1432F5";
|
||||
const polyamYellow = "#FFFD52";
|
||||
const agenderGrey = "#AAAAAA";
|
||||
const agenderGrey = "#A0A0A0";
|
||||
const agenderGreen = "#CDF29F";
|
||||
const kinkBlue = "#0E24C0";
|
||||
const kinkRed = "#ED4024";
|
||||
|
|
|
@ -93,7 +93,7 @@ method.colorLetter = async function(letterToColor, targetColor, animate = false)
|
|||
}
|
||||
}
|
||||
if(animate)
|
||||
await sleep(25);
|
||||
await sleep(45);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -134,7 +134,7 @@ method.colorLetterGradient = async function(gradient, targetColor, animate = fal
|
|||
|
||||
var nh = th;
|
||||
var ns = ts; //(ss - diffSaturation) * 1.15 * ts / 100;
|
||||
var nl = tl - (tl - sl) * (0.4 - tl * 0.002);
|
||||
var nl = tl - (tl - sl) * (0.5 - tl * 0.0025);
|
||||
if(nl < 0) nl = 0;
|
||||
if(nl > 100) nl = 100;
|
||||
|
||||
|
|
Loading…
Reference in a new issue