커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -31,14 +31,14 @@ struct OrderListItemView: View {
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
HStack(spacing: 8) {
|
||||
Text(item.themeStr)
|
||||
.font(.custom(Font.medium.rawValue, size: 8))
|
||||
.appFont(size: 8, weight: .medium)
|
||||
.foregroundColor(Color(hex: "3bac6a"))
|
||||
.padding(2.6)
|
||||
.background(Color(hex: "28312b"))
|
||||
.cornerRadius(2.6)
|
||||
|
||||
Text(item.duration!)
|
||||
.font(.custom(Font.medium.rawValue, size: 8))
|
||||
.appFont(size: 8, weight: .medium)
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
.padding(2.6)
|
||||
.background(Color(hex: "222222"))
|
||||
@@ -46,12 +46,12 @@ struct OrderListItemView: View {
|
||||
}
|
||||
|
||||
Text(item.creatorNickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 9))
|
||||
.appFont(size: 9, weight: .medium)
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
.padding(.top, 2.6)
|
||||
|
||||
Text(item.title)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "d2d2d2"))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.padding(.top, 2.6)
|
||||
@@ -64,7 +64,7 @@ struct OrderListItemView: View {
|
||||
.frame(width: 13.3, height: 13.3)
|
||||
|
||||
Text("\(item.likeCount)")
|
||||
.font(.custom(Font.medium.rawValue, size: 10))
|
||||
.appFont(size: 10, weight: .medium)
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ struct OrderListItemView: View {
|
||||
.frame(width: 13.3, height: 13.3)
|
||||
|
||||
Text("\(item.commentCount)")
|
||||
.font(.custom(Font.medium.rawValue, size: 10))
|
||||
.appFont(size: 10, weight: .medium)
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
}
|
||||
}
|
||||
@@ -83,7 +83,7 @@ struct OrderListItemView: View {
|
||||
Spacer()
|
||||
|
||||
Text(item.orderType == .RENTAL ? "대여중" : "소장중")
|
||||
.font(.custom(Font.medium.rawValue, size: 10.3))
|
||||
.appFont(size: 10.3, weight: .medium)
|
||||
.foregroundColor(item.orderType == .RENTAL ? .white : .black)
|
||||
.padding(.horizontal, 5.3)
|
||||
.padding(.vertical, 2.7)
|
||||
|
||||
Reference in New Issue
Block a user