나머지 .font를 .appFont로 변경하여 한국어 텍스트와 다른 언어 텍스트에 다른 폰트 적용

This commit is contained in:
Yu Sung
2026-01-23 03:46:11 +09:00
parent b3331d5512
commit 9533b06d1e
21 changed files with 48 additions and 87 deletions

View File

@@ -137,7 +137,7 @@ struct CanPgPaymentView: View {
HStack(spacing: 16.7) {
Text("통합 결제")
.font(.custom( viewModel.paymentMethod == .unified ? Font.bold.rawValue : Font.medium.rawValue, size: 16.7))
.appFont(size: 16.7, weight: viewModel.paymentMethod == .unified ? .bold : .medium)
.foregroundColor(viewModel.paymentMethod == .unified ? Color.button : Color.grayee)
.frame(maxWidth: .infinity)
.padding(.vertical, 16.7)
@@ -180,7 +180,7 @@ struct CanPgPaymentView: View {
}
Text("휴대폰 결제")
.font(.custom( viewModel.paymentMethod == .phone ? Font.bold.rawValue : Font.medium.rawValue, size: 16.7))
.appFont(size: 16.7, weight: viewModel.paymentMethod == .phone ? .bold : .medium)
.foregroundColor(viewModel.paymentMethod == .phone ? Color.button : Color.grayee)
.frame(maxWidth: .infinity)
.padding(.vertical, 16.7)

View File

@@ -98,7 +98,7 @@ struct CanPaymentTempView: View {
HStack(spacing: 13.3) {
Text("카드")
.font(.custom( viewModel.paymentMethod == .card ? Font.bold.rawValue : Font.medium.rawValue, size: 16.7))
.appFont(size: 16.7, weight: viewModel.paymentMethod == .card ? .bold : .medium)
.foregroundColor(viewModel.paymentMethod == .card ? Color.button : Color.grayee)
.frame(width: (screenSize().width - 40) / 2)
.padding(.vertical, 16.7)
@@ -121,7 +121,7 @@ struct CanPaymentTempView: View {
Text("계좌이체")
.font(.custom( viewModel.paymentMethod == .bank ? Font.bold.rawValue : Font.medium.rawValue, size: 16.7))
.appFont(size: 16.7, weight: viewModel.paymentMethod == .bank ? .bold : .medium)
.foregroundColor(viewModel.paymentMethod == .bank ? Color.button : Color.grayee)
.frame(width: (screenSize().width - 40) / 2)
.padding(.vertical, 16.7)
@@ -147,7 +147,7 @@ struct CanPaymentTempView: View {
HStack(spacing: 13.3) {
Text("휴대폰 결제")
.font(.custom( viewModel.paymentMethod == .phone ? Font.bold.rawValue : Font.medium.rawValue, size: 16.7))
.appFont(size: 16.7, weight: viewModel.paymentMethod == .phone ? .bold : .medium)
.foregroundColor(viewModel.paymentMethod == .phone ? Color.button : Color.grayee)
.frame(width: (screenSize().width - 40) / 2)
.padding(.vertical, 16.7)

View File

@@ -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)
}