Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Sep 13, 2024
1 parent 4db68a1 commit 422f037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/value/color/channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ColorChannel {
/// [analogous]: https://www.w3.org/TR/css-color-4/#interpolation-missing
bool isAnalogous(ColorChannel other) => switch ((name, other.name)) {
("red" || "x", "red" || "x") ||
("green" || "y", "gren" || "y") ||
("green" || "y", "green" || "y") ||
("blue" || "z", "blue" || "z") ||
("chroma" || "saturation", "chroma" || "saturation") ||
("lightness", "lightness") ||
Expand Down

0 comments on commit 422f037

Please sign in to comment.