stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.91k stars 249 forks source link

linear gradient stylus -> css doesnt work anymore #210

Closed aaarichter closed 11 years ago

aaarichter commented 11 years ago

stylus:

background:  linear-gradient(to bottom,#0f0,#ff0)

stylus -> css output:

  background: normalize('background', linear-gradient(to bottom, #0f0, #ff0), webkit);
  background: normalize('background', linear-gradient(to bottom, #0f0, #ff0), moz);
  background: normalize('background', linear-gradient(to bottom, #0f0, #ff0), o);
  background: normalize('background', linear-gradient(to bottom, #0f0, #ff0), ms);
  background: normalize('background', linear-gradient(to bottom, #0f0, #ff0));

The output doesn't work. The commit done to lib/nib/gradients.styl is buggy

kizu commented 11 years ago

Which version of Stylus do you use?

aaarichter commented 11 years ago

I checked out the master https://github.com/visionmedia/nib/blob/master/lib/nib/gradients.styl

kizu commented 11 years ago

Not nib. Stylus. How do you use it? stylus --version?

aaarichter commented 11 years ago

ah .. stylus version 0.33.1. I haven't checked if there is an updated version

just saw that there is a 0.35.1

aaarichter commented 11 years ago

ah it works .. sry for opening the issue