Skip to content
New issue

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

Colors should be case insensitive? #2462

Closed
asottile opened this issue Aug 8, 2017 · 2 comments
Closed

Colors should be case insensitive? #2462

asottile opened this issue Aug 8, 2017 · 2 comments

Comments

@asottile
Copy link
Member

asottile commented Aug 8, 2017

input.scss

a { b { color: lighten(Crimson, 10%); } }

Actual results

$ ./node_modules/.bin/node-sass --version
node-sass	4.5.3	(Wrapper)	[JavaScript]
libsass  	3.5.0.beta.2	(Sass Compiler)	[C/C++]
$ ./node_modules/.bin/node-sass test.scss test.scss  |& jq --raw-output .message
argument `$color` of `lighten($color, $amount)` must be a color

Backtrace:
	test.scss:1, in function `lighten`
	test.scss:1

Expected result

$ sass --version
Sass 3.5.1 (Bleeding Edge)
$ sass test.scss
a b {
  color: #ed365b; }

Originally reported in sass/libsass-python#214

@asottile
Copy link
Member Author

asottile commented Aug 8, 2017

Spec created: sass/sass-spec#1160

@asottile
Copy link
Member Author

asottile commented Aug 8, 2017

PR created: #2463

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants