Skip to content

Commit 7863d0c

Browse files
authored
Don't case-normalize channel names, per spec (#2228)
1 parent 9fb49b0 commit 7863d0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/functions/color.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@ String _suggestScaleAndAdjust(
15171517
///
15181518
/// Assumes that `value` comes from a parameter named `$channel`.
15191519
String _channelName(Value value) =>
1520-
(value.assertString("channel")..assertQuoted("channel")).text.toLowerCase();
1520+
(value.assertString("channel")..assertQuoted("channel")).text;
15211521

15221522
/// Like [BuiltInCallable.function], but always sets the URL to
15231523
/// `sass:color`.

0 commit comments

Comments
 (0)