primer / prism

A tool for creating and maintaining cohesive, consistent, and accessible color palettes
https://primer.style/prism/
MIT License
667 stars 39 forks source link

Add ability to apply easing functions to curves #43

Closed stevenpetryk closed 2 years ago

stevenpetryk commented 2 years ago

This allows you to apply a bezier easing function any shared curves, as discussed in #16. The endpoints of the existing curve are preserved, and the inner values are fit to the chosen curve.

colebemis commented 2 years ago

@stevenpetryk I'm happy to merge this after the merge conflicts are resolved 👍

stevenpetryk commented 2 years ago

Rebased! Glad you like it :) I think it'd be nice to eventually add this to regular curves too (not just shared curves) but I'm having a hard time imagining how we could squeeze that into the already-pretty-busy scale sidebar.