Closed flodef closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
solana-pay | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Jan 23, 2023 at 6:15PM (UTC) |
solana-pay-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Jan 23, 2023 at 6:15PM (UTC) |
Thanks again @flodef but we're not going to merge this. The underlying library @solana/qr-code-styling
has a lot of options, and it's intentionally very easy to create your own Options
object and create a QR code using any of these options. We're not going to expand this API which is only intended to provide the basic options and try to push people toward easily scanned QR codes by default.
Adding an optional Gradient option doesn't complicate anything but only add one more option to power users who need more, while keeping it as simple as before for previous users. So creating a QR code is still as simple as it was !
I don't get your point, but that's OK, if you took the decision to not merge, I'll kindly comply.
PS: I updated the file with your suggestion about adding it to createQROptions
:-)
Allows to put some color with Gradient in your QR code.