Closed gluck closed 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.
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!
add unit tests with vitest -> requires tsconfig skipLibCheck as per: https://github.com/figma/plugin-typings/issues/96
also use colord (with names plugin) for color normalization
now supports all color types (including names and transparency)
now supports diagonal directions
now supports length w/o unit (px is implicit)
TODO:
Future: