diff --git a/spec/core_functions/color/lab/_util.scss b/spec/core_functions/color/lab/_util.scss index 50df4e3d4..106fe41df 100644 --- a/spec/core_functions/color/lab/_util.scss +++ b/spec/core_functions/color/lab/_util.scss @@ -4,7 +4,7 @@ @function -real-channel($color, $channel) { @if color.is-missing($color, $channel) { - @return null; + @return none; } @else { @return color.channel($color, $channel); } diff --git a/spec/core_functions/color/lab/alpha.hrx b/spec/core_functions/color/lab/alpha.hrx index f74f4c67b..0b068f39d 100644 --- a/spec/core_functions/color/lab/alpha.hrx +++ b/spec/core_functions/color/lab/alpha.hrx @@ -4,8 +4,8 @@ <===> transparent/output.css a { - value: lab(1% 2 3 / 0); - channels: 1% 2 3 / 0; + value: lab(0% 255 127 / 0); + channels: 0% 255 127 / 0; } <===> @@ -71,11 +71,11 @@ a { <===> ================================================================================ -<===> none/slash/c/input.scss +<===> none/slash/b/input.scss @use 'core_functions/color/lab/util'; @include util.inspect(lab(1% 2 none / 0.4)); -<===> none/slash/c/output.css +<===> none/slash/b/output.css a { value: lab(1% 2 none / 0.4); channels: 1% 2 none / 0.4; @@ -95,11 +95,11 @@ a { <===> ================================================================================ -<===> none/slash/c_and_alpha/input.scss +<===> none/slash/b_and_alpha/input.scss @use 'core_functions/color/lab/util'; @include util.inspect(lab(1% 2 none / none)); -<===> none/slash/c_and_alpha/output.css +<===> none/slash/b_and_alpha/output.css a { value: lab(1% 2 none / none); channels: 1% 2 none / none; @@ -107,12 +107,12 @@ a { <===> ================================================================================ -<===> none/slash_list/c/input.scss +<===> none/slash_list/b/input.scss @use 'sass:list'; @use 'core_functions/color/lab/util'; @include util.inspect(lab(list.slash(1% 2 none, 0.4))); -<===> none/slash_list/c/output.css +<===> none/slash_list/b/output.css a { value: lab(1% 2 none / 0.4); channels: 1% 2 none / 0.4; @@ -133,12 +133,12 @@ a { <===> ================================================================================ -<===> none/slash_list/c_and_alpha/input.scss +<===> none/slash_list/b_and_alpha/input.scss @use 'sass:list'; @use 'core_functions/color/lab/util'; @include util.inspect(lab(list.slash(1% 2 none, none))); -<===> none/slash_list/c_and_alpha/output.css +<===> none/slash_list/b_and_alpha/output.css a { value: lab(1% 2 none / none); channels: 1% 2 none / none; diff --git a/spec/core_functions/color/lab/no_alpha.hrx b/spec/core_functions/color/lab/no_alpha.hrx index 8d44c9ffd..77695ad80 100644 --- a/spec/core_functions/color/lab/no_alpha.hrx +++ b/spec/core_functions/color/lab/no_alpha.hrx @@ -14,7 +14,7 @@ a { @use 'core_functions/color/lab/util'; @include util.inspect(lab(1% 126 300)); -<===> unitless/ab/outside_range/output.css +<===> unitless/ab/above_range/output.css a { value: lab(1% 126 300); channels: 1% 126 300;