title: Is there a way to set a specific text style in swiftui similar to the way you make a button style?
body: <p>I have made a button style to be used throughout my app but I can't find a way to accomplish this with text so I end up having to add the .font stuff manually every time. I was wondering if there is a way to set it so I can have a consistent way to style text. Here is the code I use to set my button style.</p>
  <pre><code>   struct mainPageButtonStyle: ButtonStyle {
          func makeBody(configuration: Configuration) -&gt; some View {
              configuration.label
                  .frame(width: 200, height: 60, alignment: .center)
                  .overlay(RoundedRectangle(cornerRadius: 25)
                              .stroke(Color(colorManager.secondaryGreen), lineWidth: 8)
                  )
                  .padding(.all, 20)
          }
      }
  </code></pre>