Closed panosru closed 12 years ago
ah that's busted in stylus (opposite-position
) probably doesn't map center to itself
mind opening this issue there? I'll get it fixed tomorrow first tthing
@visionmedia I though I was burned up but I have to admit you are a really burned up dude! :P Thanks for nib, uikit, express, redis, jade etc :P
Are you sure it is because of stylus? When I remove nib everything compiles fine...
Without nib, this: background-image linear-gradient(center top , #F5F5F5 0%, #EEEEEE 100%)
compiles into this: background-image:linear-gradient(center top,#f5f5f5 0%,#eee 100%);
so I believe it's not stylus issue :/
nib is using a BIF from stylus called opposite-position()
, I think that was only necessary for the old webkit syntax, maybe we can change that now
https://github.com/LearnBoost/stylus/commit/b3275ebfc1dfa5273c6e519182839786f00fa824
but yeah i think we could change that to the -webkit-linear-gradient(
syntax and remove its use in here
@visionmedia so now if I update stylus and nib I normally should not get an error?
@panosru yeah it should be ok with that fix, I haven't released yet though. but like I said that legacy webkit syntax might be fine to remove now
@visionmedia I applied the patch manually and it worked fine with nib, thanks :)
Hello I use this css code
linear-gradient(center top, #F5F5F5 0%, #EEEEEE 100%)
but I get the following error when I try to parse it with nib: