comparison LazyBearWatchOS Extension/Tests/ColorTest.swift @ 458:253e1216e4d2

Update binary
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Mon, 28 Jun 2021 16:29:20 +0200
parents
children
comparison
equal deleted inserted replaced
457:c6913f0ce46e 458:253e1216e4d2
1 //
2 // ColorTest.swift
3 // LazyBearWatchOS Extension
4 //
5 // Created by Dennis Concepción Martín on 28/06/2021.
6 //
7
8 import SwiftUI
9
10 struct ColorTest: View {
11 var body: some View {
12 VStack {
13 Text("Hello world")
14 .foregroundColor(.red)
15 .font(.title)
16 .fontWeight(.black)
17
18 Text("Hello world")
19 .foregroundColor(Color(.red))
20 .font(.title)
21 .fontWeight(.black)
22 }
23 }
24 }
25
26 struct ColorTest_Previews: PreviewProvider {
27 static var previews: some View {
28 ColorTest()
29 }
30 }