Skip to content

Commit 84bc728

Browse files
committed
Update mix colors
1 parent 252aaf7 commit 84bc728

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/duotone.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ setColors = ->
5151
unsetColors() # prevents adding endless properties
5252

5353
# Color limits
54-
_high = chroma.mix('hsl(0,0%,100%)', uno, 0.5);
54+
_high = chroma.mix( uno, 'hsl(0,0%,100%)', 0.5); # mix with white
5555
_mid = uno
56-
_low = chroma.mix('hsl(0,0%,25%)', uno, 0.25);
56+
_low = chroma.mix(uno, 'hsl(0,0%,25%)', 0.25); # mix with dark grey
5757

5858
# Color scales
5959
_scaleUno = chroma.scale([ _high, _mid, _low]).colors(5)

0 commit comments

Comments
 (0)