nib icon indicating copy to clipboard operation
nib copied to clipboard

Gradient helper prevents having a 'top()' mixin

Open ianstormtaylor opened this issue 14 years ago • 1 comments

I get this error when trying to declare a mixing with a name of top()

TypeError: expected string, ident or literal, but got function:top()

and declaring a gradient using a string doesn't work either linear-gradient('top', ...

Not sure if there is a solution that keeps both of the functions around...

ianstormtaylor avatar Jan 12 '12 23:01 ianstormtaylor

we could probably also check for a function of the same name just in case, shouldn't hurt

tj avatar Jan 12 '12 23:01 tj