How can I achieve an effect similar to a rounded rectangle in the swiftui toolbar in order to put some basic buttons there? I have seen the effect in Xcode and other programs that have probably been made using Storyboards or XIB Applications but I am against that. I have tried to literally just put a rounded rectangle in the toolbar with a fixed size of 30 and a foreground style of tertiary but it doesn’t look the same.
Heres an image explaining the effect I want: