larsenwork / postcss-easing-gradients

PostCSS plugin to create smooth linear-gradients that approximate easing functions.
https://www.npmjs.com/package/postcss-easing-gradients
MIT License
927 stars 22 forks source link

confused about docs #8

Open stratboy opened 5 years ago

stratboy commented 5 years ago

Hi, thank you for your code. I'm a bit confused by your docs and demos, though.

    .pipe(
      gulpPostcss([
        easingGradient({
          // Default settings
          precision: 0.1,
          alphaDecimals: 5,
        }),
      ])

background: linear-gradient(to right, green, steps(4, skip-none), red);

What's steps? it's not standard css syntax, If I'm not wrong..

Could you please exaplain and/or update your docs and demos?

stratboy commented 5 years ago

And what's 'lrgb'? I know rgb, rgba, but lrgb??