커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -14,7 +14,7 @@ struct SeriesItemBadgeView: View {
|
||||
|
||||
var body: some View {
|
||||
Text(title)
|
||||
.font(.custom(Font.medium.rawValue, size: 10.3))
|
||||
.appFont(size: 10.3, weight: .medium)
|
||||
.foregroundColor(.white)
|
||||
.padding(.vertical, 3.7)
|
||||
.padding(.horizontal, 5.3)
|
||||
|
||||
@@ -13,7 +13,7 @@ struct SeriesKeywordChipView: View {
|
||||
|
||||
var body: some View {
|
||||
Text(keyword)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.grayd2)
|
||||
.padding(.horizontal, 8)
|
||||
.padding(.vertical, 5.3)
|
||||
|
||||
@@ -67,7 +67,7 @@ struct SeriesListBigItemView: View {
|
||||
.frame(width: 116.7, height: 165, alignment: .center)
|
||||
|
||||
Text(item.title)
|
||||
.font(.custom(Font.preMedium.rawValue, size: 18))
|
||||
.appFont(size: 18, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.lineLimit(1)
|
||||
|
||||
@@ -82,7 +82,7 @@ struct SeriesListBigItemView: View {
|
||||
.clipShape(Circle())
|
||||
|
||||
Text(item.creator.nickname)
|
||||
.font(.custom(Font.preMedium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.lineLimit(1)
|
||||
}
|
||||
@@ -98,7 +98,7 @@ struct SeriesListBigItemView: View {
|
||||
}
|
||||
|
||||
Text(item.publishedDaysOfWeek)
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
}
|
||||
.frame(width: 116.7)
|
||||
|
||||
@@ -56,14 +56,14 @@ struct SeriesListItemView: View {
|
||||
.frame(width: itemWidth, height: itemWidth * 432 / 306)
|
||||
|
||||
Text(item.title)
|
||||
.font(.custom(Font.preMedium.rawValue, size: 18))
|
||||
.appFont(size: 18, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.lineLimit(2)
|
||||
.multilineTextAlignment(.leading)
|
||||
.frame(width: itemWidth, alignment: .leading)
|
||||
|
||||
Text(item.publishedDaysOfWeek)
|
||||
.font(.custom(Font.preMedium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.frame(width: itemWidth, alignment: .leading)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user