Skip to content

Commit b601797

Browse files
authored
Merge pull request #684 from allanpope/color-remove-grayscale-n-arg
@theme-ui/color - remove number arg as it's not used
2 parents 853ce56 + 084d196 commit b601797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/color/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ export const mix = (a, b, n = 0.5) => t => P.mix(n, g(t, a), g(t, b))
2828
export const complement = c => t => P.complement(g(t, c))
2929
export const invert = c => t => P.invert(g(t, c))
3030

31-
export const grayscale = (c, n) => desaturate(c, 1)
31+
export const grayscale = c => desaturate(c, 1)

0 commit comments

Comments
 (0)