We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Libsass treats some strings (those equal to valid CSS colors) as color values instead of strings.
$foo: 'Blue'; $bar: 'blue'; $baz: to_lower_case('Blue'); @debug type-of($foo); // string (OK) @debug type-of($bar); // color (expected string) @debug type-of($baz); // color (expected string)
All the examples above should return a string. Ruby Sass behaves as expected.
The text was updated successfully, but these errors were encountered:
This is fixed in latest master and will be in 3.3.
Sorry, something went wrong.
Cover type-of("red") case
00858e7
This is a string, not a color. Related: sass/libsass#1522 sass/libsass#1525 sass/node-sass#1175
7c5a3f4
No branches or pull requests
Libsass treats some strings (those equal to valid CSS colors) as color values instead of strings.
All the examples above should return a string. Ruby Sass behaves as expected.
The text was updated successfully, but these errors were encountered: