Open weareoutman opened 3 years ago
Same issue in my project.
IMO the darken()
should not been called since its already overridden.
+1
+1
Same issue, any news ? I also posted a question on stack overflow but no solution nor workaround yet.
same issue
Sorry for slow response, I will investgate this issue. 🕵️
same issue
same issue
I'm having a similar issue: https://github.com/less/less.js/issues/3611#issuecomment-1172325438
Looks like https://github.com/less/less.js/pull/3721
Looks like https://github.com/less/less.js/issues/4275. Do we have any update this? It really blocks much of our work..
To simplify the issue, let's assume a third-party-library which contains:
And my app would like to override the colors to css custom properties:
In which I want to override both the
@base-color
and@dark-color
less variables. However, the less will fail withLessError: error evaluating function `darken`: Argument cannot be evaluated to a color
, even if the@dark-color
in library is actually overridden in my app, and nodarken()
function should be called.