Skip to content

Commit 975fc86

Browse files
committed
Don't clamp HSL lightness
1 parent 60d1561 commit 975fc86

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/src/value/color/space/hsl.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ final class HslColorSpace extends ColorSpace {
2424
hueChannel,
2525
LinearChannel('saturation', 0, 100,
2626
requiresPercent: true, lowerClamped: true),
27-
LinearChannel('lightness', 0, 100,
28-
requiresPercent: true, lowerClamped: true, upperClamped: true)
27+
LinearChannel('lightness', 0, 100, requiresPercent: true)
2928
]);
3029

3130
SassColor convert(ColorSpace dest, double? hue, double? saturation,

0 commit comments

Comments
 (0)