yagudaev / css-gradient-to-figma

Plugin to insert a CSS Gradient into Figma
https://www.figma.com/community/plugin/1157089605295322526/CSS-Gradient-to-Figma
MIT License
18 stars 2 forks source link

feat: move to postcss-value-parser #16

Closed gluck closed 2 years ago

gluck commented 2 years ago

TODO:

Future:

yagudaev commented 2 years ago

Wow 🤩 . You are something else my friend.

This is incredible, left a few quick comments. I still need to grok this whole thing. Amazing start, I'm really excited to see us shape this.

I'll review the CSS spec again, there are interesting concepts there like:

gradient line (which, depending on the type of gradient, may geometrically be a line, or a ray, or a spiral)

This is probably the key to supporting other gradient types well.

Looking forward to hearing your thoughts.

yagudaev commented 2 years ago

Wow incredible job seriously don't know how you did it! Opened another PR #18 that does some further refactoring to clean things up.

I'll close this one and prep that one more tomorrow, it's almost there!