on-internet
← Community

What modifiers do I have to use to get this button style in SwiftUI?

Stack Overflow ·

The button style that I am trying to achieve is this one: I have tried using the glassProminent button style but it doesn’t give the text that colour. This style where the foreground label is a lighter colour than the tint of the button is also in toolbar items when using the glassProminent buttonStyle modifier. I have also noticed that using the glassProminent buttonStyle modifier only gives this style to the toolbar buttons if you use the Label view. If you use Text or Image, this style is not applied. i have tried a myriad of combinations and haven’t been able to reproduce this style. One a

Comments

Sign in or sign up to comment and upvote.

No comments yet.