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.

Function is `color-mod()` not `color()`

See original GitHub issue

cssnext 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:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kumarharshcommented, Feb 13, 2018

So, would this end up being changed to color-mod() in this library too?

1reaction
jonathantnealcommented, Jan 21, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

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