커스텀 폰트 pretendard-bold, gmarket-bold를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -29,7 +29,7 @@ struct CanStatusView: View {
|
||||
.frame(width: 26.7, height: 26.7)
|
||||
|
||||
Text("\(viewModel.totalCan)")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ struct CanStatusView: View {
|
||||
|
||||
HStack(alignment: .bottom, spacing: 3.3) {
|
||||
Text("\(viewModel.chargeCan)")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
|
||||
Text(" 캔")
|
||||
@@ -62,7 +62,7 @@ struct CanStatusView: View {
|
||||
|
||||
HStack(alignment: .bottom, spacing: 3.3) {
|
||||
Text("\(viewModel.rewardCan)")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
|
||||
Text(" 캔")
|
||||
@@ -143,7 +143,7 @@ struct CanStatusView: View {
|
||||
.frame(width: 26.7, height: 26.7)
|
||||
|
||||
Text("충전하기")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color(hex: "1313bc"))
|
||||
}
|
||||
.padding(.vertical, 16)
|
||||
|
||||
Reference in New Issue
Block a user