커스텀 폰트 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

@@ -29,7 +29,7 @@ struct ContentCreateSelectThemeView: View {
VStack(spacing: 0) {
HStack(alignment: .top, spacing: 0) {
Text("테마 선택")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.white)
Spacer()

View File

@@ -29,7 +29,7 @@ struct ContentCreateView: View {
ScrollView(.vertical, showsIndicators: false) {
VStack(spacing: 0) {
Text("썸네일")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
@@ -62,7 +62,7 @@ struct ContentCreateView: View {
.onTapGesture { isShowPhotoPicker = true }
Text("등록")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
.padding(.top, 13.3)
@@ -92,7 +92,7 @@ struct ContentCreateView: View {
VStack(spacing: 0) {
Text("제목")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
@@ -110,7 +110,7 @@ struct ContentCreateView: View {
HStack(spacing: 0) {
Text("내용")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
Spacer()
@@ -135,7 +135,7 @@ struct ContentCreateView: View {
.padding(.top, 13.3)
Text("테마")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
.padding(.top, 26.7)
@@ -158,7 +158,7 @@ struct ContentCreateView: View {
Text(viewModel.theme != nil ?
viewModel.theme!.theme :
I18n.CreateContent.selectTheme)
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.button)
}
.padding(.vertical, viewModel.theme != nil ? 8 : 13.3)
@@ -177,7 +177,7 @@ struct ContentCreateView: View {
}
Text("태그")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
.padding(.top, 26.7)
@@ -204,7 +204,7 @@ struct ContentCreateView: View {
VStack(spacing: 13.3) {
Text("가격 설정")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
@@ -225,7 +225,7 @@ struct ContentCreateView: View {
if !viewModel.isFree {
VStack(spacing: 13.3) {
Text("소장 설정")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
@@ -261,7 +261,7 @@ struct ContentCreateView: View {
TextField("가격을 입력하세요(5캔 이상)", text: $viewModel.priceString)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.bold.rawValue, size: 14.7))
.appFont(size: 14.7, weight: .bold)
.foregroundColor(Color.grayee)
.cornerRadius(6.7)
.keyboardType(.numberPad)
@@ -305,7 +305,7 @@ struct ContentCreateView: View {
if viewModel.price > 0 && viewModel.purchaseOption != .RENT_ONLY {
VStack(spacing: 13.3) {
Text("한정판 설정")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
@@ -327,7 +327,7 @@ struct ContentCreateView: View {
TextField("한정판 개수를 입력하세요", text: $viewModel.limitedString)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.bold.rawValue, size: 14.7))
.appFont(size: 14.7, weight: .bold)
.foregroundColor(Color.grayee)
.cornerRadius(6.7)
.keyboardType(.numberPad)
@@ -342,7 +342,7 @@ struct ContentCreateView: View {
VStack(spacing: 13.3) {
Text("포인트 사용")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
@@ -364,7 +364,7 @@ struct ContentCreateView: View {
VStack(spacing: 13.3) {
Text("미리듣기")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
@@ -387,7 +387,7 @@ struct ContentCreateView: View {
if viewModel.isGeneratePreview {
VStack(spacing: 10) {
Text("미리듣기 시간 설정")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
@@ -406,7 +406,7 @@ struct ContentCreateView: View {
TextField("00:00:00", text: $viewModel.previewStartTime)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.bold.rawValue, size: 14.6))
.appFont(size: 14.6, weight: .bold)
.foregroundColor(Color.gray77)
.padding(.vertical, 16.7)
.padding(.horizontal, 13.3)
@@ -425,7 +425,7 @@ struct ContentCreateView: View {
TextField("00:00:15", text: $viewModel.previewEndTime)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.bold.rawValue, size: 14.6))
.appFont(size: 14.6, weight: .bold)
.foregroundColor(Color.gray77)
.padding(.vertical, 16.7)
.padding(.horizontal, 13.3)
@@ -446,7 +446,7 @@ struct ContentCreateView: View {
VStack(spacing: 13.3) {
Text("연령 제한")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
@@ -475,7 +475,7 @@ struct ContentCreateView: View {
VStack(spacing: 13.3) {
Text("댓글 가능 여부")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
@@ -498,7 +498,7 @@ struct ContentCreateView: View {
VStack(spacing: 13.3) {
Text(I18n.CreateContent.publishReserved)
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color.grayee)
.frame(maxWidth: .infinity, alignment: .leading)
@@ -573,7 +573,7 @@ struct ContentCreateView: View {
VStack(spacing: 0) {
HStack(alignment: .top, spacing: 0) {
Text("등록")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.white)
.frame(height: 50)
.frame(maxWidth: .infinity)
@@ -697,7 +697,7 @@ struct SelectButtonView: View {
}
Text(title)
.font(.custom(Font.bold.rawValue, size: 14.7))
.appFont(size: 14.7, weight: .bold)
.foregroundColor(isChecked ? .white : Color.main)
}
.frame(height: 48.7)