커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디

파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
Yu Sung
2026-01-23 03:09:20 +09:00
parent d92dcbc696
commit 280e424385
238 changed files with 831 additions and 831 deletions

View File

@@ -28,11 +28,11 @@ struct UserProfileFanTalkAllView: View {
VStack(alignment: .leading, spacing: 0) {
HStack(spacing: 6.7) {
Text("응원")
.font(.custom(Font.medium.rawValue, size: 14.7))
.appFont(size: 14.7, weight: .medium)
.foregroundColor(Color.grayee)
Text("\(viewModel.cheersTotalCount)")
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color.gray77)
}
.padding(.top, 20)
@@ -46,7 +46,7 @@ struct UserProfileFanTalkAllView: View {
TextField("응원댓글을 입력하세요", text: $cheersContent)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.grayee)
.accentColor(Color.button)
.keyboardType(.default)
@@ -142,7 +142,7 @@ struct UserProfileFanTalkAllView: View {
Text(viewModel.errorMessage)
.padding(.vertical, 13.3)
.frame(width: screenSize().width - 66.7, alignment: .center)
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.background(Color.button)
.foregroundColor(Color.white)
.multilineTextAlignment(.leading)

View File

@@ -47,7 +47,7 @@ struct UserProfileFanTalkCheersItemView: View {
.foregroundColor(Color.white)
Text("\(cheersItem.date)")
.font(.custom(Font.preMedium.rawValue, size: 14))
.appFont(size: 14, weight: .medium)
.foregroundColor(Color(hex: "78909C"))
.padding(.top, 4)
@@ -56,7 +56,7 @@ struct UserProfileFanTalkCheersItemView: View {
TextField("", text: $cheers)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.preMedium.rawValue, size: 14))
.appFont(size: 14, weight: .medium)
.foregroundColor(Color.grayee)
.padding(13.3)
.background(Color.gray23)
@@ -93,7 +93,7 @@ struct UserProfileFanTalkCheersItemView: View {
.padding(.top, 13.3)
} else {
Text("\(cheersItem.content)")
.font(.custom(Font.preMedium.rawValue, size: 16))
.appFont(size: 16, weight: .medium)
.foregroundColor(Color(hex: "B0BEC5"))
.fixedSize(horizontal: false, vertical: true)
.lineSpacing(8)
@@ -105,7 +105,7 @@ struct UserProfileFanTalkCheersItemView: View {
TextField("응원댓글에 답글을 남겨보세요!", text: $replyContent)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.preMedium.rawValue, size: 14))
.appFont(size: 14, weight: .medium)
.foregroundColor(Color.grayee)
.padding(13.3)
.background(Color.gray23)
@@ -137,7 +137,7 @@ struct UserProfileFanTalkCheersItemView: View {
if cheersItem.replyList.count <= 0 {
if userId == UserDefaults.int(forKey: .userId) {
Text("답글쓰기")
.font(.custom(Font.preMedium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color.button)
.padding(.top, 18.3)
.onTapGesture {
@@ -148,7 +148,7 @@ struct UserProfileFanTalkCheersItemView: View {
let reply = cheersItem.replyList[0]
VStack(alignment: .leading, spacing: 8.3) {
Text(reply.content)
.font(.custom(Font.preMedium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color.white)
.frame(minWidth: 100)
.padding(.horizontal, 6.7)
@@ -160,12 +160,12 @@ struct UserProfileFanTalkCheersItemView: View {
HStack(spacing: 6.7) {
Text(reply.date)
.font(.custom(Font.preMedium.rawValue, size: 10.7))
.appFont(size: 10.7, weight: .medium)
.foregroundColor(Color.gray52)
if userId == UserDefaults.int(forKey: .userId) {
Text("답글 수정")
.font(.custom(Font.preMedium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color.button)
.onTapGesture {
self.replyContent = reply.content
@@ -197,7 +197,7 @@ struct UserProfileFanTalkCheersItemView: View {
VStack(spacing: 10) {
if cheersItem.memberId != UserDefaults.int(forKey: .userId) {
Text("신고하기")
.font(.custom(Font.preMedium.rawValue, size: 14))
.appFont(size: 14, weight: .medium)
.foregroundColor(Color.gray77)
.onTapGesture {
reportPopup(cheersItem.cheersId)
@@ -207,7 +207,7 @@ struct UserProfileFanTalkCheersItemView: View {
if cheersItem.memberId == UserDefaults.int(forKey: .userId) {
Text("수정")
.font(.custom(Font.preMedium.rawValue, size: 14))
.appFont(size: 14, weight: .medium)
.foregroundColor(Color.gray77)
.onTapGesture {
isModeModify = true
@@ -220,7 +220,7 @@ struct UserProfileFanTalkCheersItemView: View {
cheersItem.memberId == UserDefaults.int(forKey: .userId)
{
Text("삭제")
.font(.custom(Font.preMedium.rawValue, size: 14))
.appFont(size: 14, weight: .medium)
.foregroundColor(Color.gray77)
.onTapGesture {
onClickDelete(cheersItem.cheersId)

View File

@@ -43,11 +43,11 @@ struct UserProfileFanTalkView: View {
VStack(alignment: .leading, spacing: 20) {
HStack(spacing: 6.7) {
Text("응원")
.font(.custom(Font.preMedium.rawValue, size: 16))
.appFont(size: 16, weight: .medium)
.foregroundColor(Color.grayee)
Text("\(cheers.totalCount)")
.font(.custom(Font.preMedium.rawValue, size: 14))
.appFont(size: 14, weight: .medium)
.foregroundColor(Color.gray77)
}
@@ -55,7 +55,7 @@ struct UserProfileFanTalkView: View {
TextField("응원댓글을 입력하세요", text: $cheersContent)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.preMedium.rawValue, size: 14))
.appFont(size: 14, weight: .medium)
.foregroundColor(Color.grayee)
.accentColor(Color.button)
.keyboardType(.default)