커스텀 폰트 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

@@ -32,7 +32,7 @@ struct OriginalWorkDetailHeaderView: View {
HStack(spacing: 4) {
Text(item.translated?.contentType ?? item.contentType)
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.foregroundColor(Color(hex: "B0BEC5"))
.padding(.horizontal, 7)
.padding(.vertical, 3)
@@ -45,7 +45,7 @@ struct OriginalWorkDetailHeaderView: View {
}
Text(item.translated?.category ?? item.category)
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.foregroundColor(.button)
.padding(.horizontal, 7)
.padding(.vertical, 3)
@@ -59,7 +59,7 @@ struct OriginalWorkDetailHeaderView: View {
if item.isAdult {
Text("19+")
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.foregroundColor(Color(hex: "ff5c49"))
.padding(.horizontal, 7)
.padding(.vertical, 3)
@@ -79,7 +79,7 @@ struct OriginalWorkDetailHeaderView: View {
.map { $0.hasPrefix("#") ? $0 : "#\($0)" }
.joined(separator: " ")
)
.font(.custom(Font.preRegular.rawValue, size: 14))
.appFont(size: 14, weight: .regular)
.foregroundColor(Color(hex: "3bb9f1"))
.frame(maxWidth: .infinity)
.padding(.top, 14)