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

This commit is contained in:
Yu Sung
2026-01-23 03:25:19 +09:00
parent c9c1db39a6
commit b3331d5512
44 changed files with 166 additions and 150 deletions

View File

@@ -39,14 +39,14 @@ struct HomeCreatorRankingItemView: View {
Spacer()
Text(item.nickname)
.font(.custom(Font.preRegular.rawValue, size: 16))
.appFont(size: 16, weight: .regular)
.foregroundColor(.white)
Spacer()
if item.id != UserDefaults.int(forKey: .userId) {
Text(item.follow ? "팔로잉" : "팔로우")
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.padding(.vertical, 4)
.frame(maxWidth: .infinity)
.background(

View File

@@ -30,7 +30,7 @@ struct HomeLatestContentView: View {
Spacer()
Text("전체보기")
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.foregroundColor(.init(hex: "78909C"))
.onTapGesture { onClickMore() }
}

View File

@@ -37,13 +37,13 @@ struct HomeLiveItemView: View {
VStack(alignment: .leading, spacing: 4) {
Text(item.creatorNickname)
.font(.custom(Font.preRegular.rawValue, size: 18))
.appFont(size: 18, weight: .regular)
.foregroundColor(.white)
.lineLimit(2)
.truncationMode(.tail)
Text(item.title)
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.foregroundColor(Color(hex: "B0BEC5"))
.lineLimit(1)
.truncationMode(.tail)

View File

@@ -195,7 +195,7 @@ struct HomeTabView: View {
Spacer()
Text("전체보기")
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.foregroundColor(.init(hex: "78909C"))
.onTapGesture {
AppState.shared
@@ -283,7 +283,7 @@ struct HomeTabView: View {
Spacer()
Text("전체보기")
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.foregroundColor(.init(hex: "78909C"))
.onTapGesture {
AppState.shared
@@ -313,7 +313,7 @@ struct HomeTabView: View {
Spacer()
Text("전체보기")
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.foregroundColor(.init(hex: "78909C"))
.onTapGesture {
AppState.shared
@@ -388,7 +388,7 @@ struct HomeTabView: View {
- 대표 이메일 : sodalive.official@gmail.com
""")
.font(.custom(Font.preRegular.rawValue, size: 11))
.appFont(size: 11, weight: .regular)
.foregroundColor(Color.gray77)
.padding(.horizontal, 13.3)
}
@@ -519,7 +519,7 @@ struct HomeTabView: View {
Text(viewModel.errorMessage)
.padding(.vertical, 13.3)
.frame(width: screenSize().width - 66.7, alignment: .center)
.font(.custom(Font.preRegular.rawValue, size: 12))
.appFont(size: 12, weight: .regular)
.background(Color.button)
.foregroundColor(Color.white)
.multilineTextAlignment(.leading)

View File

@@ -30,11 +30,11 @@ struct HomeWeeklyChartItemView: View {
VStack(alignment: .leading, spacing: 6) {
Text(content.title)
.lineLimit(1)
.font(.custom(Font.preRegular.rawValue, size: 18))
.appFont(size: 18, weight: .regular)
.foregroundColor(.white)
Text(content.creatorNickname)
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.foregroundColor(Color(hex: "78909C"))
}
}

View File

@@ -24,7 +24,7 @@ struct RecommendChannelContentItemView: View {
VStack(alignment: .leading, spacing: 2) {
Text(item.title)
.font(.custom(Font.preRegular.rawValue, size: 18))
.appFont(size: 18, weight: .regular)
.foregroundColor(.white)
.lineLimit(1)
.truncationMode(.tail)
@@ -34,7 +34,7 @@ struct RecommendChannelContentItemView: View {
Image("ic_heart_white")
Text("\(item.likeCount)")
.font(.custom(Font.preRegular.rawValue, size: 18))
.appFont(size: 18, weight: .regular)
.foregroundColor(.white)
}
@@ -42,7 +42,7 @@ struct RecommendChannelContentItemView: View {
Image("ic_comment_white")
Text("\(item.commentCount)")
.font(.custom(Font.preRegular.rawValue, size: 18))
.appFont(size: 18, weight: .regular)
.foregroundColor(.white)
}
}

View File

@@ -30,7 +30,7 @@ struct RecommendChannelItemView: View {
HStack(spacing: 4) {
Text("콘텐츠")
.font(.custom(Font.preRegular.rawValue, size: 18))
.appFont(size: 18, weight: .regular)
.foregroundColor(.white)
Text("\(item.contentCount)")