커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -37,16 +37,16 @@ struct LiveReservationAllItemView: View {
|
||||
.parseUtcIsoDate()?
|
||||
.convertDateFormat(dateFormat: "yyyy.MM.dd EEE hh:mm a") ?? item.beginDateTimeUtc
|
||||
Text(beginDateText)
|
||||
.font(.custom(Font.medium.rawValue, size: 9.3))
|
||||
.appFont(size: 9.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "ffd300"))
|
||||
|
||||
Text(item.creatorNickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 11.3))
|
||||
.appFont(size: 11.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "bbbbbb"))
|
||||
.padding(.top, 10)
|
||||
|
||||
Text(item.title)
|
||||
.font(.custom(Font.medium.rawValue, size: 15.3))
|
||||
.appFont(size: 15.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "e2e2e2"))
|
||||
.lineLimit(2)
|
||||
.padding(.top, 10)
|
||||
@@ -56,7 +56,7 @@ struct LiveReservationAllItemView: View {
|
||||
|
||||
if item.isReservation {
|
||||
Text("예약완료")
|
||||
.font(.custom(Font.medium.rawValue, size: 11.3))
|
||||
.appFont(size: 11.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "d2d2d2"))
|
||||
.padding(.horizontal, 7)
|
||||
.padding(.vertical, 4)
|
||||
@@ -64,7 +64,7 @@ struct LiveReservationAllItemView: View {
|
||||
.cornerRadius(10)
|
||||
} else {
|
||||
Text(item.price > 0 ? "\(item.price)캔" : "무료")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "e2e2e2").opacity(0.49))
|
||||
.padding(.bottom, 6.7)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user