razorpay / blade

Design System that powers Razorpay
https://blade.razorpay.com
MIT License
495 stars 129 forks source link

Fix shadow token discrepancies between iOS and Android #922

Closed anuraghazra closed 1 year ago

anuraghazra commented 1 year ago

While working on the Card we noticed a vast difference in shadow opacity between iOS and Android.

image

Slack Thread: https://razorpay.slack.com/archives/G01B3LQ9H0W/p1671538782461409 Original GH Comment: https://github.com/razorpay/blade/pull/896#issuecomment-1359294394

divyanshu013 commented 1 year ago

Not really a bug, inherent RN thing 😸

anuraghazra commented 1 year ago

Right, ideally we need to fix our elevation tokens.

divyanshu013 commented 1 year ago

Related shadow / elevation explo by @saurav12

chaitanyadeorukhkar commented 1 year ago

This is fixed and in a much better state after elevation revamp. Closing it.