question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Depreciation warning for colors

See original GitHub issue

Hi, I actually just have a usage question, but I can’t find anywhere to ask it. I couldn’t find a link to any forum, mailing list or chat from your repo, homepage or docs.

I would like to know how to get rid this depreciation warning:

DEPRECATION WARNING on line 145, column 67 of /.../layout.scss:
The value "#AAAAAA00" is currently parsed as a string, but it will be parsed as a color in
future versions of Sass. Use "unquote('#AAAAAA00')" to continue parsing it as a string.

What should I do? I DON’T want it parsed as a string - it’s a color.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
nex3commented, May 3, 2018

The value #AAAAAA will work just fine. It’s only the syntax #AAAAAA00, which represents opacity as hex digits, which isn’t supported yet and requires the use of the rgba() function right now.

0reactions
nex3commented, Nov 5, 2018

@nicolasxu-bg That syntax isn’t supported yet in some Sass implementations. Use the rgba() function instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Depreciation warning for colors in Angular - Stack Overflow
The value "#c6c6c636" is currently parsed as a string, but it will be parsed as a color in future versions of Sass.
Read more >
The operation `color plus 33` is deprecated and will be an ...
The operation `color plus 33` is deprecated and will be an error in future versions. in dart-sass. DEPRECATION WARNING on line 101 of...
Read more >
warnings — Warning control — Python 3.11.1 documentation
Base category for warnings about deprecated features when those warnings are intended for other Python developers (ignored by default, unless triggered by ...
Read more >
Gulp throws deprecation warnings coming from init/_colors ...
Gulp produces a lot of SASS 4.0 deprecation warnings coming from the _colors.scss file. These are caused by the node_module/chroma_sass ...
Read more >
Breaking Change: Color Units | Sass 中文网
Finally, we'll remove all deprecated behavior by making color functions throw errors if they're passed any units that produced deprecation warnings in Phase ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found