커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -18,7 +18,7 @@ struct LiveRoomNewChatView: View {
|
||||
HStack(spacing: 6.7) {
|
||||
Image("ic_bottom_white")
|
||||
Text("새로운 채팅")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
}
|
||||
.padding(.vertical, 8)
|
||||
|
||||
@@ -19,7 +19,7 @@ struct LiveRoomOverlayStrokeTextButton: View {
|
||||
|
||||
var body: some View {
|
||||
Text(text)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(textColor)
|
||||
.padding(.horizontal, 8)
|
||||
.padding(.vertical, 6)
|
||||
|
||||
@@ -26,7 +26,7 @@ struct LiveRoomOverlayStrokeTextToggleButton: View {
|
||||
|
||||
var body: some View {
|
||||
Text(isOn ? onText : offText != nil && offText?.count ?? 0 > 0 ? offText! : onText)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(isOn ? onTextColor : offTextColor)
|
||||
.padding(.horizontal, 8)
|
||||
.padding(.vertical, 6)
|
||||
|
||||
@@ -72,7 +72,7 @@ struct LiveRoomInfoCreatorView: View {
|
||||
|
||||
HStack(spacing: 5.3) {
|
||||
Text(creatorNickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(.gray77)
|
||||
.lineLimit(1)
|
||||
|
||||
|
||||
@@ -171,7 +171,7 @@ struct LiveRoomInfoGuestView: View {
|
||||
.frame(width: 12, height: 12)
|
||||
|
||||
Text("\(totalHeart)")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(.graybb)
|
||||
}
|
||||
.padding(.horizontal, 11)
|
||||
@@ -188,7 +188,7 @@ struct LiveRoomInfoGuestView: View {
|
||||
.frame(width: 12, height: 12)
|
||||
|
||||
Text("\(totalDonationCan)")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(.graybb)
|
||||
}
|
||||
.padding(.horizontal, 11)
|
||||
|
||||
@@ -169,7 +169,7 @@ struct LiveRoomInfoHostView: View {
|
||||
.frame(width: 12, height: 12)
|
||||
|
||||
Text("\(totalHeart)")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(.graybb)
|
||||
}
|
||||
.padding(.horizontal, 11)
|
||||
@@ -186,7 +186,7 @@ struct LiveRoomInfoHostView: View {
|
||||
.frame(width: 12, height: 12)
|
||||
|
||||
Text("\(totalDonationCan)")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(.graybb)
|
||||
}
|
||||
.padding(.horizontal, 11)
|
||||
@@ -199,7 +199,7 @@ struct LiveRoomInfoHostView: View {
|
||||
|
||||
HStack(spacing: 6.7) {
|
||||
Text(I18n.LiveRoom.participants)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(.graybb)
|
||||
|
||||
Text("\(participantsCount)")
|
||||
|
||||
@@ -48,7 +48,7 @@ struct LiveRoomInfoSpeakerView: View {
|
||||
)
|
||||
|
||||
Text(nickname)
|
||||
.font(.custom(Font.medium.rawValue, fixedSize: 8.7))
|
||||
.appFont(size: 8.7, weight: .medium)
|
||||
.foregroundColor(.gray77)
|
||||
.lineLimit(1)
|
||||
.truncationMode(.tail)
|
||||
|
||||
Reference in New Issue
Block a user