Skip to content

Commit

Permalink
Add a $space parameter to the channel function deprecation (#2019)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 authored Sep 19, 2024
1 parent a915c2c commit c5a03ff
Show file tree
Hide file tree
Showing 26 changed files with 81 additions and 81 deletions.
14 changes: 7 additions & 7 deletions spec/core_functions/color/blackness.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ a {
<===> max/warning
DEPRECATION WARNING: color.blackness() is deprecated. Suggestion:

color.channel($color, blackness)
color.channel($color, blackness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -34,7 +34,7 @@ a {
<===> min/warning
DEPRECATION WARNING: color.blackness() is deprecated. Suggestion:

color.channel($color, blackness)
color.channel($color, blackness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -58,7 +58,7 @@ a {
<===> middle/zero_whiteness/warning
DEPRECATION WARNING: color.blackness() is deprecated. Suggestion:

color.channel($color, blackness)
color.channel($color, blackness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -82,7 +82,7 @@ a {
<===> middle/half_whiteness/warning
DEPRECATION WARNING: color.blackness() is deprecated. Suggestion:

color.channel($color, blackness)
color.channel($color, blackness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -106,7 +106,7 @@ a {
<===> middle/high_whiteness/warning
DEPRECATION WARNING: color.blackness() is deprecated. Suggestion:

color.channel($color, blackness)
color.channel($color, blackness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -130,7 +130,7 @@ a {
<===> fraction/warning
DEPRECATION WARNING: color.blackness() is deprecated. Suggestion:

color.channel($color, blackness)
color.channel($color, blackness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -154,7 +154,7 @@ a {
<===> named/warning
DEPRECATION WARNING: color.blackness() is deprecated. Suggestion:

color.channel($color, blackness)
color.channel($color, blackness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand Down
8 changes: 4 additions & 4 deletions spec/core_functions/color/blue.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ a {
<===> max/warning
DEPRECATION WARNING: color.blue() is deprecated. Suggestion:

color.channel($color, blue)
color.channel($color, blue, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -34,7 +34,7 @@ a {
<===> min/warning
DEPRECATION WARNING: color.blue() is deprecated. Suggestion:

color.channel($color, blue)
color.channel($color, blue, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -58,7 +58,7 @@ a {
<===> middle/warning
DEPRECATION WARNING: color.blue() is deprecated. Suggestion:

color.channel($color, blue)
color.channel($color, blue, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -82,7 +82,7 @@ a {
<===> named/warning
DEPRECATION WARNING: color.blue() is deprecated. Suggestion:

color.channel($color, blue)
color.channel($color, blue, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand Down
8 changes: 4 additions & 4 deletions spec/core_functions/color/green.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ a {
<===> max/warning
DEPRECATION WARNING: color.green() is deprecated. Suggestion:

color.channel($color, green)
color.channel($color, green, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -34,7 +34,7 @@ a {
<===> min/warning
DEPRECATION WARNING: color.green() is deprecated. Suggestion:

color.channel($color, green)
color.channel($color, green, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -58,7 +58,7 @@ a {
<===> middle/warning
DEPRECATION WARNING: color.green() is deprecated. Suggestion:

color.channel($color, green)
color.channel($color, green, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -82,7 +82,7 @@ a {
<===> named/warning
DEPRECATION WARNING: color.green() is deprecated. Suggestion:

color.channel($color, green)
color.channel($color, green, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand Down
14 changes: 7 additions & 7 deletions spec/core_functions/color/hue.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ a {
<===> max/warning
DEPRECATION WARNING: color.hue() is deprecated. Suggestion:

color.channel($color, hue)
color.channel($color, hue, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -34,7 +34,7 @@ a {
<===> above_max/warning
DEPRECATION WARNING: color.hue() is deprecated. Suggestion:

color.channel($color, hue)
color.channel($color, hue, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -58,7 +58,7 @@ a {
<===> min/warning
DEPRECATION WARNING: color.hue() is deprecated. Suggestion:

color.channel($color, hue)
color.channel($color, hue, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -82,7 +82,7 @@ a {
<===> negative/warning
DEPRECATION WARNING: color.hue() is deprecated. Suggestion:

color.channel($color, hue)
color.channel($color, hue, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -106,7 +106,7 @@ a {
<===> middle/warning
DEPRECATION WARNING: color.hue() is deprecated. Suggestion:

color.channel($color, hue)
color.channel($color, hue, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -130,7 +130,7 @@ a {
<===> fraction/warning
DEPRECATION WARNING: color.hue() is deprecated. Suggestion:

color.channel($color, hue)
color.channel($color, hue, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -154,7 +154,7 @@ a {
<===> named/warning
DEPRECATION WARNING: color.hue() is deprecated. Suggestion:

color.channel($color, hue)
color.channel($color, hue, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand Down
10 changes: 5 additions & 5 deletions spec/core_functions/color/lightness.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ a {
<===> max/warning
DEPRECATION WARNING: color.lightness() is deprecated. Suggestion:

color.channel($color, lightness)
color.channel($color, lightness, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -34,7 +34,7 @@ a {
<===> min/warning
DEPRECATION WARNING: color.lightness() is deprecated. Suggestion:

color.channel($color, lightness)
color.channel($color, lightness, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -58,7 +58,7 @@ a {
<===> middle/warning
DEPRECATION WARNING: color.lightness() is deprecated. Suggestion:

color.channel($color, lightness)
color.channel($color, lightness, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -82,7 +82,7 @@ a {
<===> fraction/warning
DEPRECATION WARNING: color.lightness() is deprecated. Suggestion:

color.channel($color, lightness)
color.channel($color, lightness, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -106,7 +106,7 @@ a {
<===> named/warning
DEPRECATION WARNING: color.lightness() is deprecated. Suggestion:

color.channel($color, lightness)
color.channel($color, lightness, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand Down
8 changes: 4 additions & 4 deletions spec/core_functions/color/red.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ a {
<===> max/warning
DEPRECATION WARNING: color.red() is deprecated. Suggestion:

color.channel($color, red)
color.channel($color, red, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -34,7 +34,7 @@ a {
<===> min/warning
DEPRECATION WARNING: color.red() is deprecated. Suggestion:

color.channel($color, red)
color.channel($color, red, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -58,7 +58,7 @@ a {
<===> middle/warning
DEPRECATION WARNING: color.red() is deprecated. Suggestion:

color.channel($color, red)
color.channel($color, red, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -82,7 +82,7 @@ a {
<===> named/warning
DEPRECATION WARNING: color.red() is deprecated. Suggestion:

color.channel($color, red)
color.channel($color, red, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand Down
10 changes: 5 additions & 5 deletions spec/core_functions/color/saturation.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ a {
<===> max/warning
DEPRECATION WARNING: color.saturation() is deprecated. Suggestion:

color.channel($color, saturation)
color.channel($color, saturation, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -34,7 +34,7 @@ a {
<===> min/warning
DEPRECATION WARNING: color.saturation() is deprecated. Suggestion:

color.channel($color, saturation)
color.channel($color, saturation, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -58,7 +58,7 @@ a {
<===> middle/warning
DEPRECATION WARNING: color.saturation() is deprecated. Suggestion:

color.channel($color, saturation)
color.channel($color, saturation, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -82,7 +82,7 @@ a {
<===> fraction/warning
DEPRECATION WARNING: color.saturation() is deprecated. Suggestion:

color.channel($color, saturation)
color.channel($color, saturation, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -106,7 +106,7 @@ a {
<===> named/warning
DEPRECATION WARNING: color.saturation() is deprecated. Suggestion:

color.channel($color, saturation)
color.channel($color, saturation, $space: hsl)

More info: https://sass-lang.com/d/color-functions

Expand Down
14 changes: 7 additions & 7 deletions spec/core_functions/color/whiteness.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ a {
<===> max/warning
DEPRECATION WARNING: color.whiteness() is deprecated. Suggestion:

color.channel($color, whiteness)
color.channel($color, whiteness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -34,7 +34,7 @@ a {
<===> min/warning
DEPRECATION WARNING: color.whiteness() is deprecated. Suggestion:

color.channel($color, whiteness)
color.channel($color, whiteness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -58,7 +58,7 @@ a {
<===> middle/zero_blackness/warning
DEPRECATION WARNING: color.whiteness() is deprecated. Suggestion:

color.channel($color, whiteness)
color.channel($color, whiteness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -82,7 +82,7 @@ a {
<===> middle/half_blackness/warning
DEPRECATION WARNING: color.whiteness() is deprecated. Suggestion:

color.channel($color, whiteness)
color.channel($color, whiteness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -106,7 +106,7 @@ a {
<===> middle/high_blackness/warning
DEPRECATION WARNING: color.whiteness() is deprecated. Suggestion:

color.channel($color, whiteness)
color.channel($color, whiteness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -130,7 +130,7 @@ a {
<===> fraction/warning
DEPRECATION WARNING: color.whiteness() is deprecated. Suggestion:

color.channel($color, whiteness)
color.channel($color, whiteness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand All @@ -154,7 +154,7 @@ a {
<===> named/warning
DEPRECATION WARNING: color.whiteness() is deprecated. Suggestion:

color.channel($color, whiteness)
color.channel($color, whiteness, $space: hwb)

More info: https://sass-lang.com/d/color-functions

Expand Down
2 changes: 1 addition & 1 deletion spec/core_functions/global/color/blue.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ a {
<===> warning
DEPRECATION WARNING: blue() is deprecated. Suggestion:

color.channel($color, blue)
color.channel($color, blue, $space: rgb)

More info: https://sass-lang.com/d/color-functions

Expand Down
Loading

0 comments on commit c5a03ff

Please sign in to comment.