커스텀 폰트 pretendard-bold, gmarket-bold를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정

This commit is contained in:
Yu Sung
2026-01-23 02:57:23 +09:00
parent 5a344956e3
commit d92dcbc696
181 changed files with 500 additions and 500 deletions

View File

@@ -40,14 +40,14 @@ struct CanPaymentView: View {
.frame(width: 26.7, height: 26.7, alignment: .top)
Text(canProduct.localizedTitle)
.font(.custom(Font.bold.rawValue, size: 15.3))
.appFont(size: 15.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
.padding(.leading, 13.3)
Spacer()
Text("\(NumberFormatter.localizedString(from: canProduct.price, number: .currency))")
.font(.custom(Font.bold.rawValue, size: 15.3))
.appFont(size: 15.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
}
.padding(.horizontal, 13.3)
@@ -124,7 +124,7 @@ struct CanPaymentView: View {
HStack(spacing: 0) {
Text("\(NumberFormatter.localizedString(from: canProduct.price, number: .currency))")
.font(.custom(Font.bold.rawValue, size: 23.3))
.appFont(size: 23.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
}
}
@@ -132,7 +132,7 @@ struct CanPaymentView: View {
Spacer()
Text("결제하기")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.white)
.padding(.vertical, 16)
.frame(minWidth: 200)

View File

@@ -73,7 +73,7 @@ struct CanPgPaymentView: View {
HStack(spacing: 8) {
Button(action: { showExitConfirm = true }) {
Text("닫기")
.font(.custom(Font.bold.rawValue, size: 14))
.appFont(size: 14, weight: .bold)
.foregroundColor(.white)
.padding(.horizontal, 12)
.padding(.vertical, 8)
@@ -111,14 +111,14 @@ struct CanPgPaymentView: View {
.frame(width: 26.7, height: 26.7, alignment: .top)
Text(canResponse.title)
.font(.custom(Font.bold.rawValue, size: 15.3))
.appFont(size: 15.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
.padding(.leading, 13.3)
Spacer()
Text(canResponse.priceStr.formatCurrency(currencyCode: canResponse.currency))
.font(.custom(Font.bold.rawValue, size: 15.3))
.appFont(size: 15.3, weight: .bold)
.foregroundColor(Color.grayee)
}
.padding(.horizontal, 13.3)
@@ -130,7 +130,7 @@ struct CanPgPaymentView: View {
.padding(.top, 13.3)
Text("결제 수단 선택")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(width: screenSize().width - 26.7, alignment: .leading)
.padding(.top, 26.7)
@@ -282,7 +282,7 @@ struct CanPgPaymentView: View {
HStack(spacing: 0) {
Text(canResponse.priceStr.formatCurrency(currencyCode: canResponse.currency))
.font(.custom(Font.bold.rawValue, size: 23.3))
.appFont(size: 23.3, weight: .bold)
.foregroundColor(Color.grayee)
}
}
@@ -290,7 +290,7 @@ struct CanPgPaymentView: View {
Spacer()
Text("결제하기")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.white)
.padding(.vertical, 16)
.frame(minWidth: 200)

View File

@@ -71,14 +71,14 @@ struct CanPaymentTempView: View {
VStack(spacing: 0) {
HStack(spacing: 0) {
Text(self.title)
.font(.custom(Font.bold.rawValue, size: 15.3))
.appFont(size: 15.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
.padding(.leading, 13.3)
Spacer()
Text("\(self.can * 110)")
.font(.custom(Font.bold.rawValue, size: 15.3))
.appFont(size: 15.3, weight: .bold)
.foregroundColor(Color.grayee)
}
.padding(.horizontal, 13.3)
@@ -90,7 +90,7 @@ struct CanPaymentTempView: View {
.padding(.top, 13.3)
Text("결제 수단 선택")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(width: screenSize().width - 26.7, alignment: .leading)
.padding(.top, 26.7)
@@ -200,7 +200,7 @@ struct CanPaymentTempView: View {
HStack(spacing: 0) {
Text("\(self.can * 110)")
.font(.custom(Font.bold.rawValue, size: 23.3))
.appFont(size: 23.3, weight: .bold)
.foregroundColor(Color.grayee)
}
}
@@ -208,7 +208,7 @@ struct CanPaymentTempView: View {
Spacer()
Text("결제하기")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.white)
.padding(.vertical, 16)
.frame(minWidth: 200)