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

@@ -19,7 +19,7 @@ struct ContentMainView: View {
VStack(alignment: .leading, spacing: 0) {
HStack(spacing: 0) {
Text("콘텐츠 마켓")
.font(.custom(Font.bold.rawValue, size: 21.3))
.appFont(size: 21.3, weight: .bold)
.foregroundColor(Color.button)
Spacer()
@@ -82,7 +82,7 @@ struct ContentMainView: View {
Image("ic_alarm_clock_blue")
Text("보이스 모닝콜")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color(hex: "0057ff"))
}
.cornerRadius(2.6)
@@ -104,7 +104,7 @@ struct ContentMainView: View {
Image("ic_short_play")
Text("숏플")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color(hex: "dd158d"))
}
.cornerRadius(2.6)
@@ -161,7 +161,7 @@ struct ContentMainView: View {
.frame(width: 20, height: 20)
Text("콘텐츠 업로드")
.font(.custom(Font.bold.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .bold)
.foregroundColor(.white)
}
.padding(13.3)

View File

@@ -15,7 +15,7 @@ struct ContentMainCurationItemView: View {
VStack(alignment: .leading, spacing: 0) {
HStack(spacing: 0) {
Text(item.title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
Spacer()

View File

@@ -15,7 +15,7 @@ struct ContentMainNewContentView: View {
LazyVStack(spacing: 16.7) {
HStack(spacing: 0) {
Text("새로운 콘텐츠")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
Spacer()

View File

@@ -17,7 +17,7 @@ struct ContentMainMyStashView: View {
VStack(alignment: .leading, spacing: 13.3) {
HStack(spacing: 0) {
Text("내 보관함")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
Spacer()

View File

@@ -29,29 +29,29 @@ struct ContentMainCreatorRankingView: View {
let titleArray = response.title.components(separatedBy: coloredTitle)
HStack(spacing: 0) {
Text(titleArray[0])
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.grayee)
Text(coloredTitle)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: color))
if titleArray.count > 1 {
Text(titleArray[1])
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.grayee)
}
}
} else {
Text(response.title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.grayee)
}
if let desc = response.desc {
VStack(spacing: 8) {
Text("\(desc)")
.font(.custom(Font.bold.rawValue, size: 14.7))
.appFont(size: 14.7, weight: .bold)
.foregroundColor(Color.grayee)
Text("※ 인기 크리에이터의 순위는 매주 업데이트됩니다.")

View File

@@ -22,7 +22,7 @@ struct ContentMainRankingView: View {
LazyVStack(spacing: 16.7) {
HStack(spacing: 0) {
Text("인기 콘텐츠")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
Spacer()
@@ -35,7 +35,7 @@ struct ContentMainRankingView: View {
VStack(spacing: 8) {
Text("\(viewModel.dateString)")
.font(.custom(Font.bold.rawValue, size: 14.7))
.appFont(size: 14.7, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
Text("※ 인기 콘텐츠의 순위는 매주 업데이트됩니다.")
@@ -72,7 +72,7 @@ struct ContentMainRankingView: View {
.cornerRadius(2.7)
Text("\(index + 1)")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(Color(hex: "3bb9f1"))
.padding(.horizontal, 12)

View File

@@ -16,7 +16,7 @@ struct ContentMainRecommendSeriesView: View {
if !viewModel.seriesList.isEmpty {
VStack(alignment: .leading, spacing: 13.3) {
Text("추천 시리즈")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.grayee)
ScrollView(.horizontal, showsIndicators: false) {

View File

@@ -35,7 +35,7 @@ struct ContentMainTabRankContentView: View {
VStack(spacing: 13.3) {
HStack(spacing: 0) {
Text(title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
Spacer()
@@ -76,7 +76,7 @@ struct ContentMainTabRankContentView: View {
.cornerRadius(2.7)
Text("\(index + 1)")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(.button)
.padding(.horizontal, 12)

View File

@@ -32,7 +32,7 @@ struct ContentMainTagCurationView: View {
var body: some View {
VStack(alignment: .leading, spacing: 13.3) {
Text("태그별 추천 콘텐츠")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.grayee)
.padding(.horizontal, 13.3)

View File

@@ -27,7 +27,7 @@ struct ContentByChannelView: View {
var body: some View {
VStack(alignment: .leading, spacing: 20) {
Text(title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.grayee)
.padding(.horizontal, 13.3)

View File

@@ -27,7 +27,7 @@ struct ContentMainCurationItemViewV2: View {
var body: some View {
VStack(alignment: .leading, spacing: 13.3) {
Text(curation.title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.grayee)
.padding(.horizontal, 13.3)

View File

@@ -21,7 +21,7 @@ struct ContentMainNewContentViewV2: View {
LazyVStack(spacing: 13.3) {
HStack(spacing: 0) {
Text(title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.grayee)
Spacer()

View File

@@ -53,7 +53,7 @@ struct ContentMainViewV2: View {
VStack(spacing: 0) {
HStack(spacing: 0) {
Text("콘텐츠 마켓")
.font(.custom(Font.bold.rawValue, size: 21.3))
.appFont(size: 21.3, weight: .bold)
.foregroundColor(Color.button)
Spacer()

View File

@@ -20,7 +20,7 @@ struct ContentMainTabHomeView: View {
VStack(alignment: .leading, spacing: 0) {
HStack(spacing: 0) {
Text("보이스온")
.font(.custom(Font.bold.rawValue, size: 21.3))
.appFont(size: 21.3, weight: .bold)
.foregroundColor(Color.white)
.padding(.leading, 8)
@@ -278,7 +278,7 @@ struct ContentMainTabHomeView: View {
.frame(width: 20, height: 20)
Text("콘텐츠 업로드")
.font(.custom(Font.bold.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .bold)
.foregroundColor(.white)
}
.padding(13.3)

View File

@@ -27,7 +27,7 @@ struct ContentMainTabHomeRankCreatorView: View {
if let desc = response.desc, !token.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
VStack(spacing: 8) {
Text("\(desc)")
.font(.custom(Font.bold.rawValue, size: 14.7))
.appFont(size: 14.7, weight: .bold)
.foregroundColor(Color.grayee)
Text("※ 인기 순위는 매주 업데이트됩니다.")
@@ -43,23 +43,23 @@ struct ContentMainTabHomeRankCreatorView: View {
let titleArray = response.title.components(separatedBy: coloredTitle)
HStack(spacing: 0) {
Text(titleArray[0])
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.grayee)
Text(coloredTitle)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: color))
if titleArray.count > 1 {
Text(titleArray[1])
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.grayee)
}
}
.padding(.top, token.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty ? 0 : 30)
} else {
Text(response.title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.grayee)
.padding(.top, 30)
}

View File

@@ -14,7 +14,7 @@ struct ContentMainTabHomeRankSeriesView: View {
var body: some View {
VStack(alignment: .leading, spacing: 13.3) {
Text("인기 시리즈")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.grayee)
ScrollView(.horizontal, showsIndicators: false) {

View File

@@ -16,7 +16,7 @@ struct ContentMainCompletedSeriesView: View {
VStack(spacing: 13.3) {
HStack(spacing: 0) {
Text("완결 시리즈")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.grayee)
Spacer()

View File

@@ -16,7 +16,7 @@ struct ContentMainNewOrRecommendSeriesView: View {
var body: some View {
VStack(alignment: .leading, spacing: 13.3) {
Text(title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
.padding(.horizontal, 13.3)

View File

@@ -18,7 +18,7 @@ struct ContentMainSeriesByGenreView: View {
var body: some View {
VStack(alignment: .leading, spacing: 13.3) {
Text("장르별 추천 시리즈")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color.grayee)
.padding(.horizontal, 13.3)

View File

@@ -28,7 +28,7 @@ struct ContentMainSeriesCurationItemView: View {
var body: some View {
VStack(alignment: .leading, spacing: 13.3) {
Text(curation.title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.grayee)
.padding(.horizontal, 13.3)

View File

@@ -21,7 +21,7 @@ struct ContentMainSeriesRankingView: View {
var body: some View {
VStack(alignment: .leading, spacing: 13.3) {
Text("일간 랭킹")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.grayee)
.padding(.horizontal, 13.3)
@@ -43,7 +43,7 @@ struct ContentMainSeriesRankingView: View {
.cornerRadius(2.7)
Text("\(index + 1)")
.font(.custom(Font.bold.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .bold)
.foregroundColor(.button)
.padding(.horizontal, 12)

View File

@@ -16,7 +16,7 @@ struct ContentMainOriginalAudioDramaView: View {
VStack(spacing: 13.3) {
HStack(spacing: 0) {
Text("오리지널 오디오 드라마")
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(.grayee)
Spacer()

View File

@@ -19,7 +19,7 @@ struct SeriesByChannelView: View {
var body: some View {
VStack(alignment: .leading, spacing: 13.3) {
Text(title)
.font(.custom(Font.bold.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
.padding(.horizontal, 13.3)