Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(toast): update toast UI to use border instead of shadow (valora…
…-inc#5113) ### Description We decided to refrain from using shadows with toasts because shadows don't give enough contrast with the underlying app surface for toast to stand out. It is also challenging to replicate designer-proposed shadows consistently in iOS and Android due to platform differences in rendering shadows. A border with 50% opaque primary color is used instead. Designs: https://www.figma.com/file/erFfzHvSTm5g1sjK6jWyEH/Working-Design-System-Components?type=design&node-id=1287-1599&mode=design&t=FfkYhPWuxiEi75yJ-0 Context: https://valora-app.slack.com/archives/C0684TXDR3K/p1710432893238009?thread_ts=1708337311.090779&cid=C0684TXDR3K #### Examples: | With border | With shadow (deprecated) | |--------|--------| | ![Simulator Screenshot - iPhone 15 - 2024-03-15 at 18 22 37 2](https://github.com/valora-inc/wallet/assets/2737872/0e2bad37-0a51-48f3-ac5e-b17db481ca9e) | ![Simulator Screenshot - iPhone 15 - 2024-03-15 at 18 24 08 2](https://github.com/valora-inc/wallet/assets/2737872/01268ca4-5130-4b86-a988-9bc866298bf8) | | ![Simulator Screenshot - iPhone 15 - 2024-03-15 at 18 21 23 2](https://github.com/valora-inc/wallet/assets/2737872/129773ac-cd91-4063-93a6-77fd7308a61f) | ![Simulator Screenshot - iPhone 15 - 2024-03-15 at 18 24 33 2](https://github.com/valora-inc/wallet/assets/2737872/9cc48514-e8f6-4136-b4c5-f4ee605ce3c2) | | ![Simulator Screenshot - iPhone 15 - 2024-03-15 at 18 21 11 2](https://github.com/valora-inc/wallet/assets/2737872/7e29507f-8851-4fc0-bb1b-d03e0719bc50) | ![Simulator Screenshot - iPhone 15 - 2024-03-15 at 18 24 50 2](https://github.com/valora-inc/wallet/assets/2737872/5e2c9728-bb6e-46cc-84be-d655171332cb) | | ![Simulator Screenshot - iPhone 15 - 2024-03-15 at 18 21 35 2](https://github.com/valora-inc/wallet/assets/2737872/83d1a984-8911-46b7-8136-d1a2ffd84425) | ![Simulator Screenshot - iPhone 15 - 2024-03-15 at 18 24 42 2](https://github.com/valora-inc/wallet/assets/2737872/f93bfdb6-1404-40bf-a4c5-abf47bf97eec) | ### Test plan CI ### Related issues - Related to RET-1004 ### Backwards compatibility Y ### Network scalability NA
- Loading branch information