diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/data/color.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/data/color.lux b/stdlib/source/library/lux/data/color.lux index ebc8f8371..40424f426 100644 --- a/stdlib/source/library/lux/data/color.lux +++ b/stdlib/source/library/lux/data/color.lux @@ -316,7 +316,7 @@ #green (interpolated' greenE greenS) #blue (interpolated' blueE blueS)]))) -(template [<name> <target>] +(with_template [<name> <target>] [(def: .public (<name> ratio color) (-> Frac Color Color) (..interpolated ratio <target> color))] @@ -325,7 +325,7 @@ [brighter ..white] ) -(template [<op> <name>] +(with_template [<op> <name>] [(def: .public (<name> ratio color) (-> Frac Color Color) (let [[hue saturation luminance] (hsl color)] @@ -346,7 +346,7 @@ +0.0 luminance]))) -(template [<name> <1> <2>] +(with_template [<name> <1> <2>] [(`` (def: .public (<name> color) (-> Color [Color Color Color]) (let [[hue saturation luminance] (hsl color)] @@ -363,7 +363,7 @@ [split_complement (|> +1.0 (f./ +5.0)) (|> +3.0 (f./ +5.0))] ) -(template [<name> <1> <2> <3>] +(with_template [<name> <1> <2> <3>] [(`` (def: .public (<name> color) (-> Color [Color Color Color Color]) (let [[hue saturation luminance] (hsb color)] |