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

@@ -106,14 +106,14 @@ struct ExplorerSectionView: View {
}
Text(creator.nickname)
.font(.custom(Font.medium.rawValue, size: 11.3))
.appFont(size: 11.3, weight: .medium)
.foregroundColor(Color(hex: "eeeeee"))
.lineLimit(1)
.frame(width: 93.3)
.padding(.top, 13.3)
Text(creator.tags)
.font(.custom(Font.medium.rawValue, size: 10))
.appFont(size: 10, weight: .medium)
.foregroundColor(Color(hex: "3bb9f1"))
.lineLimit(1)
.frame(width: 93.3)

View File

@@ -21,7 +21,7 @@ struct ExplorerView: View {
TextField("채널명을 입력해 보세요", text: $viewModel.channel)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "eeeeee"))
.accentColor(Color(hex: "3bb9f1"))
.keyboardType(.default)
@@ -61,7 +61,7 @@ struct ExplorerView: View {
.clipShape(Circle())
Text(channel.nickname)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "eeeeee"))
Spacer()
@@ -73,7 +73,7 @@ struct ExplorerView: View {
}
} else {
Text("검색 결과가 없습니다.")
.font(.custom(Font.medium.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .medium)
.foregroundColor(.white)
.padding(.top, 40)
}
@@ -103,7 +103,7 @@ struct ExplorerView: View {
Text(viewModel.errorMessage)
.padding(.vertical, 13.3)
.frame(width: geo.size.width - 66.7, alignment: .center)
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.background(Color(hex: "3bb9f1"))
.foregroundColor(Color.white)
.multilineTextAlignment(.center)

View File

@@ -41,12 +41,12 @@ struct CreatorCommunityCommentItemView: View {
VStack(alignment: .leading, spacing: 0) {
HStack(spacing: 6.7) {
Text(commentItem.nickname)
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color.gray90)
if commentItem.isSecret {
Text("비밀댓글")
.font(.custom(Font.medium.rawValue, size: 11))
.appFont(size: 11, weight: .medium)
.foregroundColor(Color.grayee)
.padding(.horizontal, 4)
.padding(.vertical, 2)
@@ -56,7 +56,7 @@ struct CreatorCommunityCommentItemView: View {
}
Text(commentItem.date)
.font(.custom(Font.medium.rawValue, size: 10.3))
.appFont(size: 10.3, weight: .medium)
.foregroundColor(Color.gray52)
.padding(.top, 4)
}
@@ -75,7 +75,7 @@ struct CreatorCommunityCommentItemView: View {
TextField("댓글을 입력해 보세요.", text: $comment)
.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)
@@ -105,7 +105,7 @@ struct CreatorCommunityCommentItemView: View {
} else {
VStack(alignment: .leading, spacing: 13.3) {
Text(commentItem.comment)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.grayee)
.fixedSize(horizontal: false, vertical: true)
.lineSpacing(8)
@@ -120,7 +120,7 @@ struct CreatorCommunityCommentItemView: View {
)
) {
Text(commentItem.replyCount > 0 ? "답글 \(commentItem.replyCount)" : "답글 쓰기")
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.button)
}
}
@@ -141,7 +141,7 @@ struct CreatorCommunityCommentItemView: View {
VStack(spacing: 10) {
if commentItem.writerId == UserDefaults.int(forKey: .userId) {
Text("수정")
.font(.custom(Font.medium.rawValue, size: 14))
.appFont(size: 14, weight: .medium)
.foregroundColor(Color(hex: "777777"))
.onTapGesture {
isModeModify = true
@@ -153,7 +153,7 @@ struct CreatorCommunityCommentItemView: View {
commentItem.writerId == UserDefaults.int(forKey: .userId)
{
Text("삭제")
.font(.custom(Font.medium.rawValue, size: 14))
.appFont(size: 14, weight: .medium)
.foregroundColor(Color(hex: "777777"))
.onTapGesture {
onClickDelete(commentItem.id)

View File

@@ -30,12 +30,12 @@ struct CreatorCommunityCommentListView: View {
VStack(spacing: 0) {
HStack(spacing: 0) {
Text("댓글")
.font(.custom(Font.medium.rawValue, size: 14.7))
.appFont(size: 14.7, weight: .medium)
.foregroundColor(.white)
.padding(.leading, 13.3)
Text("\(viewModel.totalCommentCount)")
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "909090"))
.padding(.leading, 6.7)
@@ -66,7 +66,7 @@ struct CreatorCommunityCommentListView: View {
}
Text("비밀댓글")
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(viewModel.isSecret ? Color.button : Color.grayee)
.onTapGesture {
viewModel.isSecret.toggle()
@@ -87,7 +87,7 @@ struct CreatorCommunityCommentListView: View {
TextField("댓글을 입력해 보세요.", text: $viewModel.comment)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "eeeeee"))
.accentColor(Color(hex: "3bb9f1"))
.keyboardType(.default)
@@ -196,7 +196,7 @@ struct CreatorCommunityCommentListView: 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(hex: "9970ff"))
.foregroundColor(Color.white)
.multilineTextAlignment(.center)

View File

@@ -30,7 +30,7 @@ struct CreatorCommunityCommentReplyView: View {
Image("ic_back")
Text("답글")
.font(.custom(Font.medium.rawValue, size: 14.7))
.appFont(size: 14.7, weight: .medium)
.foregroundColor(.white)
Spacer()
@@ -58,7 +58,7 @@ struct CreatorCommunityCommentReplyView: View {
TextField("댓글을 입력해 보세요.", text: $viewModel.comment)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "eeeeee"))
.accentColor(Color(hex: "3bb9f1"))
.keyboardType(.default)

View File

@@ -22,11 +22,11 @@ struct CreatorCommunityCommentView: View {
VStack(alignment: .leading, spacing: 11) {
HStack(spacing: 5.3) {
Text("댓글")
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(.white)
Text("\(commentCount)")
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "909090"))
Spacer()
@@ -40,7 +40,7 @@ struct CreatorCommunityCommentView: View {
}
Text("비밀댓글")
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(isSecret ? Color.button : Color.grayee)
.onTapGesture {
isSecret.toggle()
@@ -63,7 +63,7 @@ struct CreatorCommunityCommentView: View {
.clipShape(Circle())
Text(comment.comment)
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "bbbbbb"))
.lineLimit(1)
.padding(.leading, 3)
@@ -84,7 +84,7 @@ struct CreatorCommunityCommentView: View {
TextField("댓글을 입력해 보세요.", text: $comment)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "eeeeee"))
.accentColor(Color(hex: "3bb9f1"))
.keyboardType(.default)

View File

@@ -55,7 +55,7 @@ struct CreatorCommunityAllItemView: View {
VStack(alignment: .leading, spacing: 3) {
Text(item.creatorNickname)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.grayee)
Text(item.relativeTimeText())

View File

@@ -152,7 +152,7 @@ struct CreatorCommunityAllView: 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(.center)
@@ -169,7 +169,7 @@ struct CreatorCommunityAllView: View {
Text(playerManager.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(.center)

View File

@@ -32,7 +32,7 @@ struct CreatorCommunityMenuView: View {
Image("ic_make_message")
Text("수정")
.font(.custom(Font.medium.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .medium)
.foregroundColor(.white)
Spacer()
@@ -49,7 +49,7 @@ struct CreatorCommunityMenuView: View {
Image("ic_trash_can")
Text("삭제")
.font(.custom(Font.medium.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .medium)
.foregroundColor(.white)
Spacer()
@@ -64,7 +64,7 @@ struct CreatorCommunityMenuView: View {
} else {
HStack(spacing: 0) {
Text("신고")
.font(.custom(Font.medium.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .medium)
.foregroundColor(.white)
Spacer()

View File

@@ -23,7 +23,7 @@ struct CreatorCommunityReportView: View {
VStack(spacing: 13.3) {
Text(I18n.Report.postReportTitle)
.font(.custom(Font.medium.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .medium)
.foregroundColor(Color(hex: "eeeeee"))
VStack(spacing: 13.3) {
@@ -35,7 +35,7 @@ struct CreatorCommunityReportView: View {
.frame(width: 20, height: 20)
Text(reason)
.font(.custom(Font.medium.rawValue, size: 14))
.appFont(size: 14, weight: .medium)
.foregroundColor(Color(hex: "909090"))
Spacer()
@@ -51,14 +51,14 @@ struct CreatorCommunityReportView: View {
Spacer()
Text(I18n.Common.cancel)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "9970ff"))
.onTapGesture {
isShowing = false
}
Text(I18n.Report.reportAction)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "9970ff"))
.onTapGesture {
if let selectedIndex = selectedIndex {

View File

@@ -20,7 +20,7 @@ struct CreatorCommunityNoPostsItemView: View {
.foregroundColor(Color(hex: "eeeeee"))
Text("게시 후에 게시물이 여기에 표시되고\n커뮤니티에 공개됩니다.")
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "777777"))
.fixedSize(horizontal: false, vertical: true)
.multilineTextAlignment(.center)

View File

@@ -91,11 +91,11 @@ struct CreatorCommunityModifyView: View {
HStack(alignment: .top, spacing: 0) {
Text("")
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "777777"))
Text("등록할 이미지가 없으면 이미지 없이 게시글만 등록 하셔도 됩니다.")
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "777777"))
}
.frame(maxWidth: .infinity, alignment: .leading)
@@ -109,10 +109,10 @@ struct CreatorCommunityModifyView: View {
Spacer()
Text("\(viewModel.content.count)")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "ff5c49")) +
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "ff5c49"))
Text(" / 최대 500자")
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "777777"))
}
.padding(.top, 26.7)
@@ -252,7 +252,7 @@ struct CreatorCommunityModifyView: 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(.center)

View File

@@ -78,7 +78,7 @@ struct CreatorCommunityRecordingVoiceView: View {
Spacer()
Text("삭제")
.font(.custom(Font.medium.rawValue, size: 15.3))
.appFont(size: 15.3, weight: .medium)
.foregroundColor(Color.graybb.opacity(0))
Spacer()
@@ -101,7 +101,7 @@ struct CreatorCommunityRecordingVoiceView: View {
Spacer()
Text("삭제")
.font(.custom(Font.medium.rawValue, size: 15.3))
.appFont(size: 15.3, weight: .medium)
.foregroundColor(Color.graybb)
.onTapGesture {
soundManager.stopAudio()
@@ -181,7 +181,7 @@ struct CreatorCommunityRecordingVoiceView: View {
.padding(.vertical, 13.3)
.padding(.horizontal, 6.7)
.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(.center)

View File

@@ -86,11 +86,11 @@ struct CreatorCommunityWriteView: View {
HStack(alignment: .top, spacing: 0) {
Text("")
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.gray77)
Text("등록할 이미지가 없으면 이미지 없이 게시글만 등록 하셔도 됩니다.")
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.gray77)
}
.frame(maxWidth: .infinity)
@@ -107,7 +107,7 @@ struct CreatorCommunityWriteView: View {
}
Text(fileName)
.font(.custom(Font.medium.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .medium)
.foregroundColor(Color.main)
.padding(.vertical, 8)
.background(Color.bg)
@@ -122,7 +122,7 @@ struct CreatorCommunityWriteView: View {
Text("※ 오디오 녹음은 최대 3분입니다")
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.gray77)
}
.padding(.top, 24)
@@ -136,10 +136,10 @@ struct CreatorCommunityWriteView: View {
Spacer()
Text("\(viewModel.content.count)")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color.mainRed) +
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.mainRed)
Text(" / 최대 500자")
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.gray77)
}
.padding(.top, 26.7)
@@ -253,7 +253,7 @@ struct CreatorCommunityWriteView: View {
Spacer()
Text("")
.font(.custom(Font.medium.rawValue, size: 14.7))
.appFont(size: 14.7, weight: .medium)
.foregroundColor(Color.button)
}
.padding(.horizontal, 13.3)
@@ -349,7 +349,7 @@ struct CreatorCommunityWriteView: 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(.center)

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)

View File

@@ -34,7 +34,7 @@ struct FollowerListItemView: View {
}
Text(item.nickname)
.font(.custom(Font.medium.rawValue, size: 16.7))
.appFont(size: 16.7, weight: .medium)
.foregroundColor(Color(hex: "eeeeee"))
.padding(.leading, 13.3)

View File

@@ -30,7 +30,7 @@ struct FollowerListView: View {
.foregroundColor(Color.grayee)
Text("\(viewModel.totalCount)")
.font(.custom(Font.medium.rawValue, size: 18.3))
.appFont(size: 18.3, weight: .medium)
.foregroundColor(Color.button)
Spacer()
@@ -122,7 +122,7 @@ struct FollowerListView: 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

@@ -54,7 +54,7 @@ struct UserProfileActivitySummaryView: View {
Spacer()
VStack(spacing: 8) {
Text(title)
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color.gray90)
.multilineTextAlignment(.center)

View File

@@ -39,7 +39,7 @@ struct UserProfileDonationAllView: View {
Spacer()
Text("※ 비활성화하면 채널 내 후원랭킹이 표시되지 않으며,\n라이브 중에도 후원랭킹에 따른 뱃지가 반영되지 않습니다.")
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "555555"))
.multilineTextAlignment(.trailing)
}
@@ -105,16 +105,16 @@ struct UserProfileDonationAllView: View {
HStack(alignment: .center, spacing: 0) {
Text("전체")
.font(.custom(Font.medium.rawValue, size: 14.7))
.appFont(size: 14.7, weight: .medium)
.foregroundColor(Color(hex: "eeeeee"))
Text("\(viewModel.totalCount)")
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "80d8ff"))
.padding(.leading, 6.7)
Text("")
.font(.custom(Font.medium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "777777"))
Spacer()
@@ -158,7 +158,7 @@ struct UserProfileDonationAllView: 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(hex: "9970ff"))
.foregroundColor(Color.white)
.multilineTextAlignment(.leading)
@@ -225,14 +225,14 @@ struct UserProfileDonationAllItemView: View {
let nickname = item.nickname.count > 10 ? "\(String(item.nickname.prefix(10)))..." : item.nickname
Text(nickname)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "eeeeee"))
Spacer()
if let donationCan = item.donationCan, donationCan > 0, withDonationCan {
Text("\(donationCan)")
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "eeeeee"))
}
}

View File

@@ -78,7 +78,7 @@ struct UserProfileDonationView: View {
.frame(width: 73, height: 73)
Text(item.nickname)
.font(.custom(Font.preMedium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(.grayee)
.frame(width: 63)
.lineLimit(1)

View File

@@ -18,7 +18,7 @@ struct UserProfileIntroduceView: View {
.foregroundColor(Color(hex: "eeeeee"))
Text(introduce)
.font(.custom(Font.medium.rawValue, size: 13.3))
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color(hex: "777777"))
}
.frame(width: screenSize().width - 26.7, alignment: .leading)

View File

@@ -77,7 +77,7 @@ struct UserProfileView: View {
} else {
VStack(alignment: .leading, spacing: 9.3) {
Text(I18n.MemberChannel.followerCount(creatorProfile.creator.notificationRecipientCount.comma()))
.font(.custom(Font.preMedium.rawValue, size: 16))
.appFont(size: 16, weight: .medium)
.foregroundColor(Color.white)
}
}
@@ -98,7 +98,7 @@ struct UserProfileView: View {
VStack(alignment: .leading, spacing: 8) {
Text(I18n.Common.latestContent)
.font(.custom(Font.preMedium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(.button)
.padding(.horizontal, 7)
.padding(.vertical, 4)
@@ -113,7 +113,7 @@ struct UserProfileView: View {
HStack(spacing: 8) {
if item.isScheduledToOpen {
Text(I18n.Common.openScheduled)
.font(.custom(Font.preMedium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "3bb9f1"))
.padding(2.6)
.background(Color(hex: "003851"))
@@ -121,14 +121,14 @@ struct UserProfileView: View {
}
Text(item.themeStr)
.font(.custom(Font.preMedium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "3bac6a"))
.padding(2.6)
.background(Color(hex: "28312b"))
.cornerRadius(2.6)
Text(item.duration!)
.font(.custom(Font.preMedium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(Color(hex: "777777"))
.padding(2.6)
.background(Color(hex: "222222"))
@@ -136,7 +136,7 @@ struct UserProfileView: View {
if item.isPointAvailable {
Text(I18n.Common.points)
.font(.custom(Font.preMedium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.foregroundColor(.white)
.padding(2.6)
.background(Color(hex: "7849bc"))
@@ -145,7 +145,7 @@ struct UserProfileView: View {
}
Text(item.title)
.font(.custom(Font.preMedium.rawValue, size: 18))
.appFont(size: 18, weight: .medium)
.foregroundColor(Color.white)
.multilineTextAlignment(.leading)
.lineLimit(2)
@@ -158,7 +158,7 @@ struct UserProfileView: View {
.frame(width: 18, height: 18)
Text("\(item.likeCount)")
.font(.custom(Font.preMedium.rawValue, size: 18))
.appFont(size: 18, weight: .medium)
.foregroundColor(Color(hex: "777777"))
}
@@ -168,7 +168,7 @@ struct UserProfileView: View {
.frame(width: 18, height: 18)
Text("\(item.commentCount)")
.font(.custom(Font.preMedium.rawValue, size: 18))
.appFont(size: 18, weight: .medium)
.foregroundColor(Color(hex: "777777"))
}
}
@@ -545,7 +545,7 @@ struct UserProfileView: View {
Text(viewModel.errorMessage)
.padding(.vertical, 13.3)
.frame(width: screenSize().width - 66.7, alignment: .center)
.font(.custom(Font.preMedium.rawValue, size: 12))
.appFont(size: 12, weight: .medium)
.background(Color.button)
.foregroundColor(Color.white)
.multilineTextAlignment(.leading)