Mercurial > public > stock-charts
comparison README.md @ 106:0c0d38dca6d8
Change colours to native swiftUI
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Mon, 28 Jun 2021 13:48:03 +0200 |
parents | 5b9859e47d3c |
children | 7cdc06d6a9cc |
comparison
equal
deleted
inserted
replaced
105:facd63329f23 | 106:0c0d38dca6d8 |
---|---|
44 struct ContentView: View { | 44 struct ContentView: View { |
45 var body: some View { | 45 var body: some View { |
46 RoundedRectangle(cornerRadius: 25) | 46 RoundedRectangle(cornerRadius: 25) |
47 .frame(width: 400, height: 120) | 47 .frame(width: 400, height: 120) |
48 .foregroundColor(.white) | 48 .foregroundColor(.white) |
49 .shadow(color: Color(.gray).opacity(0.15), radius: 10) | 49 .shadow(color: Color(,.gray).opacity(0.15), radius: 10) |
50 .overlay( | 50 .overlay( |
51 VStack(alignment: .leading) { | 51 VStack(alignment: .leading) { |
52 Text("Dennis Concepcion") | 52 Text("Dennis Concepcion") |
53 .font(.title3) | 53 .font(.title3) |
54 .fontWeight(.semibold) | 54 .fontWeight(.semibold) |