
struct ContentView: View {
@State private var degrees = 0.0
var body: some View {
Text("Hi!\nI Luv U♥︎")
.font(
.system(
size: 80,
weight: .black,
design: .rounded
)
)
.foregroundStyle(
LinearGradient(
colors: [.yellow, .red],
startPoint: .topLeading,
endPoint: .bottomTrailing
)
)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}