커스텀 폰트 pretendard-regular, gmarket-regular를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정

This commit is contained in:
Yu Sung
2026-01-23 03:25:19 +09:00
parent c9c1db39a6
commit b3331d5512
44 changed files with 166 additions and 150 deletions

View File

@@ -29,7 +29,7 @@ struct TalkItemView: View {
.lineLimit(1)
Text(item.opponentType)
.font(.custom(Font.preRegular.rawValue, size: 12))
.appFont(size: 12, weight: .regular)
.foregroundColor(Color(hex: "D9FCF4"))
.lineLimit(1)
.padding(.horizontal, 5)
@@ -40,14 +40,14 @@ struct TalkItemView: View {
Spacer()
Text(item.lastMessageTimeLabel)
.font(.custom(Font.preRegular.rawValue, size: 12))
.appFont(size: 12, weight: .regular)
.foregroundColor(Color(hex: "78909C"))
.lineLimit(1)
}
if let message = item.lastMessagePreview {
Text(message)
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.foregroundColor(Color(hex: "b0bec5"))
.lineLimit(2)
.truncationMode(.tail)