In SwiftUI, you have the option to change the color of the shadow you add to views. (I exaggerated them here for effect.)
💡Tip: Consider using Color.primary if you don't want to lose your shadow in dark mode. (last example)
SwiftUI Book: https://bigmountainstudio.com/swiftui-views-book
Code: https://patreon.com/posts/29943364
💡Tip: Consider using Color.primary if you don't want to lose your shadow in dark mode. (last example)
SwiftUI Book: https://bigmountainstudio.com/swiftui-views-book
Code: https://patreon.com/posts/29943364
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.