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

Wrong suggestions in deprecation warnings for using red(), green() and blue() #2358

Closed
lazytyper opened this issue Sep 20, 2024 · 0 comments · Fixed by #2361
Closed

Wrong suggestions in deprecation warnings for using red(), green() and blue() #2358

lazytyper opened this issue Sep 20, 2024 · 0 comments · Fixed by #2361
Assignees
Labels
bug cosmetic Doesn't affects CSS semantics

Comments

@lazytyper
Copy link

The code $blue: blue($color); is creating the deprecation warning:

Deprecation Warning: blue() is deprecated. Suggestion:

color.channel($color, blue)

Using this leads to an error:

sass.Exception [Error]: $channel: blue is not a string.

color.channel(#00f, blue);

Just fix your suggestions and use color.channel(#00f, 'blue'); or color.channel(#00f, "blue");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cosmetic Doesn't affects CSS semantics
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants