커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -30,7 +30,7 @@ struct ContentListItemView: View {
|
||||
HStack(spacing: 8) {
|
||||
if item.isScheduledToOpen {
|
||||
Text("오픈예정")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 11))
|
||||
.appFont(size: 11, weight: .medium)
|
||||
.foregroundColor(Color(hex: "3bb9f1"))
|
||||
.padding(2.6)
|
||||
.background(Color(hex: "003851"))
|
||||
@@ -38,14 +38,14 @@ struct ContentListItemView: View {
|
||||
}
|
||||
|
||||
Text(item.themeStr)
|
||||
.font(.custom(Font.preMedium.rawValue, size: 11))
|
||||
.appFont(size: 11, 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: 11))
|
||||
.appFont(size: 11, weight: .medium)
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
.padding(2.6)
|
||||
.background(Color(hex: "222222"))
|
||||
@@ -53,7 +53,7 @@ struct ContentListItemView: View {
|
||||
|
||||
if item.isPointAvailable {
|
||||
Text("포인트")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 11))
|
||||
.appFont(size: 11, weight: .medium)
|
||||
.foregroundColor(.white)
|
||||
.padding(2.6)
|
||||
.background(Color(hex: "7849bc"))
|
||||
@@ -68,7 +68,7 @@ struct ContentListItemView: View {
|
||||
}
|
||||
|
||||
Text(item.title)
|
||||
.font(.custom(Font.preMedium.rawValue, size: 18))
|
||||
.appFont(size: 18, weight: .medium)
|
||||
.foregroundColor(.white)
|
||||
.multilineTextAlignment(.leading)
|
||||
|
||||
@@ -79,7 +79,7 @@ struct ContentListItemView: 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"))
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ struct ContentListItemView: 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"))
|
||||
}
|
||||
}
|
||||
@@ -99,7 +99,7 @@ struct ContentListItemView: View {
|
||||
|
||||
if item.isOwned {
|
||||
Text("소장중")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.gray11)
|
||||
.padding(.horizontal, 5.3)
|
||||
.padding(.vertical, 2.7)
|
||||
@@ -107,7 +107,7 @@ struct ContentListItemView: View {
|
||||
.cornerRadius(2.6)
|
||||
} else if item.isRented {
|
||||
Text("대여중")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.white)
|
||||
.padding(.horizontal, 5.3)
|
||||
.padding(.vertical, 2.7)
|
||||
@@ -115,7 +115,7 @@ struct ContentListItemView: View {
|
||||
.cornerRadius(2.6)
|
||||
} else if item.isSoldOut {
|
||||
Text("Sold Out")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.grayd2)
|
||||
.padding(.horizontal, 5.3)
|
||||
.padding(.vertical, 2.7)
|
||||
@@ -131,12 +131,12 @@ struct ContentListItemView: View {
|
||||
.frame(width: 17, height: 17)
|
||||
|
||||
Text("\(item.price)")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
} else {
|
||||
Text("무료")
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user