dotless/dotless — Issue #122: darken function doesn't work inside gradient
Author: agatronic
Created: 2012-02-15 17:23:39+00:00
State: open

Reported via the dotless mailing list..

I use it like this:

.gradientVerticalHover (@from, @to){
background: -webkit-linear-gradient(top, @from 0%,darken(@to, 7%)
100%);
}

And it comes out like:

background:-webkit-linear-gradient(top,#f7fef5
0,darken(#e1f9d4,7%) 100%);

This does work with less.js