Function is `color-mod()` not `color()`
See original GitHub issuecssnext is out of date when it comes to color()
https://twitter.com/evaferreira92/status/905104662709272576
It seems, at a high level, the method name has changed from color()
to color-mod()
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:5 (3 by maintainers)
Top Results From Across the Web
color-mod-function does not transform vars #79 - GitHub
I have resolved the bug in PostCSS Color-Mod() Function 3.0.2 which has been bumped in PostCSS Preset Env 6.0.4. 1
Read more >The CSS color-mod Function | DigitalOcean
CSS Colors Level 4 brings us a color-mod() function that makes it easy to modify color values.
Read more >Wes Bos on Twitter: "did the CSS spec for color-mod go away ...
Diving into all the color-mix() and color() functions, and it all seems needed, but confusing. Is there not a spec for taking any...
Read more >ColorMe / CSS Color Level 4
I notice in the spec that this seems to actually be color-mod() though, not color() . It probably changed, as I see there...
Read more >CSS Color Module Level 4 - W3C
10.1 Specifying Predefined Colors: the color() function ... Value types not defined in this specification are defined in CSS Values & Units ...
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
So, would this end up being changed to
color-mod()
in this library too?That discussion was not resolved, but all ambiguity over the name was cleared up in the working draft: https://drafts.csswg.org/css-color-4/#modifying-colors