커스텀 폰트 pretendard-regular, gmarket-regular를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -27,7 +27,7 @@ struct CreatorCommunityItemView: View {
|
||||
.foregroundColor(Color.white)
|
||||
|
||||
Text(item.relativeTimeText())
|
||||
.font(.custom(Font.preRegular.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .regular)
|
||||
.foregroundColor(Color(hex: "78909C"))
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ struct CreatorCommunityItemView: View {
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text(item.content)
|
||||
.font(.custom(Font.preRegular.rawValue, size: 18))
|
||||
.appFont(size: 18, weight: .regular)
|
||||
.foregroundColor(Color(hex: "B0BEC5"))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.lineLimit(3)
|
||||
@@ -65,7 +65,7 @@ struct CreatorCommunityItemView: View {
|
||||
.frame(width: 24, height: 24)
|
||||
|
||||
Text("\(item.likeCount)")
|
||||
.font(.custom(Font.preRegular.rawValue, size: 18))
|
||||
.appFont(size: 18, weight: .regular)
|
||||
.foregroundColor(Color(hex: "78909C"))
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ struct CreatorCommunityItemView: View {
|
||||
.frame(width: 24, height: 24)
|
||||
|
||||
Text("\(item.commentCount)")
|
||||
.font(.custom(Font.preRegular.rawValue, size: 18))
|
||||
.appFont(size: 18, weight: .regular)
|
||||
.foregroundColor(Color(hex: "78909C"))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user