나머지 .font를 .appFont로 변경하여 한국어 텍스트와 다른 언어 텍스트에 다른 폰트 적용
This commit is contained in:
@@ -233,14 +233,14 @@ struct UpdateBannerView: View {
|
||||
var body: some View {
|
||||
HStack {
|
||||
Text("\(item.title)")
|
||||
.font(.system(size: 16))
|
||||
.appFont(size: 16)
|
||||
.foregroundColor(Color(hex: "B0BEC5"))
|
||||
|
||||
Spacer()
|
||||
|
||||
HStack(spacing: 2) {
|
||||
Text("자세히")
|
||||
.font(.system(size: 16))
|
||||
.appFont(size: 16)
|
||||
.foregroundColor(Color(hex: "B0BEC5"))
|
||||
|
||||
Image(systemName: "chevron.right")
|
||||
@@ -277,7 +277,7 @@ struct ProfileSectionView: View {
|
||||
|
||||
VStack(alignment: .leading) {
|
||||
Text("\(nickname)")
|
||||
.font(.system(size: 18, weight: .bold))
|
||||
.appFont(size: 18, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
|
||||
@@ -293,7 +293,7 @@ struct ProfileSectionView: View {
|
||||
.background(Color(hex: "263238"))
|
||||
.foregroundColor(.white)
|
||||
.cornerRadius(9999)
|
||||
.font(.system(size: 16))
|
||||
.appFont(size: 16)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -316,7 +316,7 @@ struct CanPointCardsView: View {
|
||||
Image("ic_can")
|
||||
|
||||
Text("\(can)")
|
||||
.font(.system(size: 18, weight: .bold))
|
||||
.appFont(size: 18, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Image(systemName: "chevron.right")
|
||||
@@ -343,14 +343,14 @@ struct CanPointCardsView: View {
|
||||
.background(Color.button)
|
||||
.cornerRadius(9999)
|
||||
.foregroundColor(.white)
|
||||
.font(.system(size: 16, weight: .bold))
|
||||
.appFont(size: 16, weight: .bold)
|
||||
} else {
|
||||
Text("")
|
||||
.padding(.horizontal, 16)
|
||||
.padding(.vertical, 11)
|
||||
.background(Color.clear)
|
||||
.foregroundColor(.white)
|
||||
.font(.system(size: 16, weight: .bold))
|
||||
.appFont(size: 16, weight: .bold)
|
||||
}
|
||||
}
|
||||
.padding(15)
|
||||
@@ -361,7 +361,7 @@ struct CanPointCardsView: View {
|
||||
Image("ic_point")
|
||||
|
||||
Text("\(point)")
|
||||
.font(.system(size: 18, weight: .bold))
|
||||
.appFont(size: 18, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Image(systemName: "chevron.right")
|
||||
@@ -384,7 +384,7 @@ struct CanPointCardsView: View {
|
||||
.padding(.vertical, 11)
|
||||
.background(Color.clear)
|
||||
.foregroundColor(.white)
|
||||
.font(.system(size: 16, weight: .bold))
|
||||
.appFont(size: 16, weight: .bold)
|
||||
}
|
||||
.padding(15)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user