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
923 stars 22 forks source link

Change PostCSS to v8 #14

Open arturparkhisenko opened 3 years ago

arturparkhisenko commented 3 years ago

Closes #12

arturparkhisenko commented 3 years ago

@larsenwork do you know who is a maintainer there who can review this PR?

jonnitto commented 3 years ago

@larsenwork Any news on this?

arturparkhisenko commented 2 years ago

@larsenwork can you please review it?

And as a part of the Hacktoberfest OSS initiative, I wanted to ask you to add the label hacktoberfest-accepted if that PR will be accepted and merged.

arturparkhisenko commented 2 years ago

Last year I did open it when I hoped to resolve this dependency thing, but because of waiting, we ended writing our own function based on multiple sources. If it'll help anyone:

thomasaull commented 1 year ago

@arturparkhisenko Would you be willing to share your solution?

arturparkhisenko commented 1 year ago

@thomasaull Hi, unfortunately, I cannot share it, the project is not open source, but what can help to create the solution:

Those two code parts are a bit simpler to read than the plugin. In addition to the just easing function, we did write the ease-in-out-sine function for steps progress (so it's not hardcoded and the amount of steps is a variable) and implemented support for transparency. Last but not least if it's a JS function then chroma.js it's a library that might help a lot. We did write our own using SASS and relied on built-ins.

Ambient-Impact commented 1 year ago

@arturparkhisenko Glad to see some development on this!