File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,12 @@ struct ForecastRowView: View {
44 let day : ForecastDay
55
66 var body : some View {
7- HStack ( spacing: 16 ) {
7+ HStack ( alignment : . bottom , spacing: 16 ) {
88 VStack ( alignment: . leading, spacing: 14 ) {
9+ //Weather card title
910 Text ( ForecastPresentationFormatter . weekdayString ( from: day. date) )
10- . font ( . title3. weight ( . semibold) )
11+ . font ( . custom( " Poppins-Bold " , size: 16 ) )
12+ . lineSpacing ( 8 )
1113 . foregroundStyle ( . black. opacity ( 0.88 ) )
1214
1315 Image ( systemName: day. condition. sfSymbolName)
@@ -16,10 +18,13 @@ struct ForecastRowView: View {
1618 }
1719
1820 Spacer ( )
19-
21+
22+ //Weather temperature
2023 Text ( ForecastPresentationFormatter . temperatureString ( celsius: day. temperatureCelsius) )
21- . font ( . system( size: 30 , weight: . bold, design: . rounded) )
24+ . font ( . custom( " Poppins-SemiBold " , size: 36 ) )
25+ . lineSpacing ( 8 )
2226 . foregroundStyle ( . black. opacity ( 0.9 ) )
27+ . frame ( maxHeight: . infinity, alignment: . bottom)
2328 }
2429 . padding ( . horizontal, 18 )
2530 . padding ( . vertical, 20 )
Original file line number Diff line number Diff line change 44<dict >
55 <key >UIAppFonts </key >
66 <array >
7+ <string >Poppins-SemiBold.ttf </string >
78 <string >Poppins-Black.ttf </string >
89 </array >
910</dict >
You can’t perform that action at this time.
0 commit comments