Skip to content

Commit

Permalink
Don't case-normalize channel names, per spec (#2228)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Apr 24, 2024
1 parent 9fb49b0 commit 7863d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/functions/color.dart
Expand Up @@ -1517,7 +1517,7 @@ String _suggestScaleAndAdjust(
///
/// Assumes that `value` comes from a parameter named `$channel`.
String _channelName(Value value) =>
(value.assertString("channel")..assertQuoted("channel")).text.toLowerCase();
(value.assertString("channel")..assertQuoted("channel")).text;

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

0 comments on commit 7863d0c

Please sign in to comment.