Closed Chappitono closed 4 years ago
Hi,
I just wanted to share a potential bug in the constantin algorithm :
var baseTriad = tinycolor(hex).tetrad(); => returning something like [0, 1, 2, 3]
var baseTriad = tinycolor(hex).tetrad();
And later, when computing the accent colors :
getColorObject(tinycolor.mix(baseDark, baseTriad[**4**], 15).saturate(80).lighten(65), 'A100'),
=> baseTriad[4] is undefined.
I don't know if that is a bug, though.
wrong project sorry
Hi,
I just wanted to share a potential bug in the constantin algorithm :
var baseTriad = tinycolor(hex).tetrad();
=> returning something like [0, 1, 2, 3]And later, when computing the accent colors :
getColorObject(tinycolor.mix(baseDark, baseTriad[**4**], 15).saturate(80).lighten(65), 'A100'),
=> baseTriad[4] is undefined.
I don't know if that is a bug, though.