커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user