SwiftUI - set formatting from a single source like css stylesheet?

Hi, this is my first post at Swift Forum and I'm happy to join the community. I have a newbie question here regarding SwiftUI. Is it possible to set formatting from a single source like a css stylesheet? All the tutorials I found add the formatting inline on the element. Thanks!