import SwiftUI

struct ContentView: View {
    
    let calculatorSymbolConfig = UIImage.SymbolConfiguration(pointSize: 24.0, weight: .regular, scale: .medium)
    
    var body: some View {
        HStack(alignment: .top) {
            VStack {
                VStack {
                    Image(uiImage: UIImage(named: "calculator", in: nil, with: calculatorSymbolConfig)!.withRenderingMode(.alwaysTemplate))
                        .foregroundColor(.yellow)
                    Text("Hello World")
                        .font(Font.body.weight(.light))
                        .foregroundColor(Color(.label))
                }
                .padding()
                VStack {
                    Image(systemName: "calendar")
                        .imageScale(.medium)
                        .font(Font.title.weight(.regular))
                        .foregroundColor(.yellow)
                    Text("Hello everyone")
                        .font(Font.body.weight(.light))
                        .foregroundColor(Color(.label))
                }
                .padding()
            }
            .background(Color(UIColor.systemGray4))
        }
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}