커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -61,7 +61,7 @@ struct LiveRoomDonationRankingItemView: View {
|
||||
|
||||
let nickname = item.nickname.count > 10 ? "\(String(item.nickname.prefix(10)))..." : item.nickname
|
||||
Text(nickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
|
||||
Spacer()
|
||||
@@ -70,11 +70,11 @@ struct LiveRoomDonationRankingItemView: View {
|
||||
if item.can > 0 {
|
||||
HStack(spacing: 4) {
|
||||
Text("\(item.can)")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.button)
|
||||
|
||||
Text("캔")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
}
|
||||
}
|
||||
@@ -82,7 +82,7 @@ struct LiveRoomDonationRankingItemView: View {
|
||||
if item.secretCan > 0 {
|
||||
HStack(spacing: 4) {
|
||||
Text("비밀")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.gray11)
|
||||
.padding(.horizontal, 3.3)
|
||||
.padding(.vertical, 2.7)
|
||||
@@ -90,11 +90,11 @@ struct LiveRoomDonationRankingItemView: View {
|
||||
.cornerRadius(2.7)
|
||||
|
||||
Text("\(item.secretCan)")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "fedc00"))
|
||||
|
||||
Text("캔")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user