support CSS color level 5 functions
See original GitHub issueelement {
border: 1px solid color(black alpha(50%));
}
It currently throws:
$color: 50% is not a color for `alpha'
Now, I don’t expect Sass to do anything with this, as that’s the job of a post-processor… but Sass should at least not throw an error.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:25 (3 by maintainers)
Top Results From Across the Web
CSS Color Module Level 5 - W3C
This module extends CSS Color [css-color-4] to add color modification functions, and custom color spaces (ICC profiles).
Read more >CSS Color Module Level 5 reference guide - LogRocket Blog
The CSS Color Module Level 5 provides a host of new color functions and improvements, opening up a world of new possibilities for...
Read more >"color" | Can I use... Support tables for HTML5, CSS3, etc
The CSS color() function allows the browser to display colors in any color space, such as the P3 color space which can display...
Read more >Add CSS Color Module Level 5 (color-mix(), color-contrast ...
Virtually following up color-mod Add color-mod() | color() function - CSS Color Module Level 4 #2864; The color-adjust() function is not to ...
Read more ><color> - CSS: Cascading Style Sheets - MDN Web Docs
CSS Color 4 introduced this notation. Colors specified via the color() function can specify a color in any of the predefined color spaces,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great! Since only that part of Colors Level 4 has been implemented in browsers, I’ve filed https://github.com/sass/sass/issues/2564 to track it separately.
Color adjustment functions have been moved to Level 5