nimblehq / nimble-crypto-ios

This is an sample Crypto market prices ap built with SwiftUI and modularization architecture. The application data is making use of the free APIs provided by Coingecko.
MIT License
33 stars 8 forks source link

[#103] [UI+Integrate] Display a loading spinner while fetching the data #106

Closed Thieurom closed 1 year ago

Thieurom commented 1 year ago

What happened 👀

Insight 📝

While creating the loading spinner, at first, I styled it with the same purple color as the Android did (the color choice seems to be related to the MaterialDesign thing)

IMHO, the purple color looks out of place with others from the existing palette, especially in light mode. It should be a complement or a contrast one, the purple is not one of these (I'm no expert in UI/UX design 🙏) Here the app shows the spinner with the purple color in case you wonder: Dark mode Light mode

So I tried to pick one from the existing colors and found that tiffanyBlue looks good in light and dark modes.

But it's just a matter of preferences. Please raise your thoughts, and I'm happy to make another choice 🙏

Proof Of Work 📹

Dark mode Light mode
Thieurom commented 1 year ago

@minhnimble @nkhanh44 Thank you guys 🙏 Updated with https://github.com/nimblehq/nimble-crypto-ios/pull/106/commits/d7bc9f4aa62bb413c085a37a521245a8a01954b2