Mercurial > public > lazybear
changeset 458:253e1216e4d2
Update binary
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Mon, 28 Jun 2021 16:29:20 +0200 |
parents | c6913f0ce46e |
children | 114e4e3d1c7a |
files | LazyBear.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate LazyBearWatchOS Extension/Tests/ColorTest.swift |
diffstat | 2 files changed, 30 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
Binary file LazyBear.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LazyBearWatchOS Extension/Tests/ColorTest.swift Mon Jun 28 16:29:20 2021 +0200 @@ -0,0 +1,30 @@ +// +// ColorTest.swift +// LazyBearWatchOS Extension +// +// Created by Dennis Concepción Martín on 28/06/2021. +// + +import SwiftUI + +struct ColorTest: View { + var body: some View { + VStack { + Text("Hello world") + .foregroundColor(.red) + .font(.title) + .fontWeight(.black) + + Text("Hello world") + .foregroundColor(Color(.red)) + .font(.title) + .fontWeight(.black) + } + } +} + +struct ColorTest_Previews: PreviewProvider { + static var previews: some View { + ColorTest() + } +}