커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -23,7 +23,7 @@ struct ContentDetailInfoView: View {
|
||||
HStack(spacing: 5.3) {
|
||||
if let _ = audioContent.releaseDate {
|
||||
Text("오픈예정")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "3bb9f1"))
|
||||
.padding(.horizontal, 5.3)
|
||||
.padding(.vertical, 3.3)
|
||||
@@ -32,7 +32,7 @@ struct ContentDetailInfoView: View {
|
||||
}
|
||||
|
||||
Text(audioContent.themeStr)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "3bac6a"))
|
||||
.padding(.horizontal, 5.3)
|
||||
.padding(.vertical, 3.3)
|
||||
@@ -41,7 +41,7 @@ struct ContentDetailInfoView: View {
|
||||
|
||||
if audioContent.isAdult {
|
||||
Text("19")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "e33621"))
|
||||
.padding(.horizontal, 5.3)
|
||||
.padding(.vertical, 3.3)
|
||||
@@ -57,13 +57,13 @@ struct ContentDetailInfoView: View {
|
||||
Image("ic_time_l")
|
||||
|
||||
Text(remainingTime)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color(hex: "909090"))
|
||||
}
|
||||
}
|
||||
|
||||
Text(orderType == .KEEP ? "소장중" : "대여중")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(
|
||||
orderType == .KEEP ?
|
||||
Color(hex: "b1ef2c") :
|
||||
@@ -101,7 +101,7 @@ struct ContentDetailInfoView: View {
|
||||
)
|
||||
|
||||
Text("\(audioContent.likeCount)")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.grayd2)
|
||||
}
|
||||
.padding(.horizontal, 13.3)
|
||||
@@ -114,7 +114,7 @@ struct ContentDetailInfoView: View {
|
||||
Image("ic_audio_content_share")
|
||||
|
||||
Text("공유")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.grayd2)
|
||||
}
|
||||
.padding(.horizontal, 13.3)
|
||||
@@ -130,7 +130,7 @@ struct ContentDetailInfoView: View {
|
||||
.frame(width: 13.3, height: 13.3)
|
||||
|
||||
Text("후원")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.grayd2)
|
||||
}
|
||||
.padding(.horizontal, 13.3)
|
||||
@@ -157,13 +157,13 @@ struct ContentDetailInfoView: View {
|
||||
VStack(spacing: 8) {
|
||||
if audioContent.tag.count > 0 {
|
||||
Text(audioContent.translated?.tags ?? audioContent.tag)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.button)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
}
|
||||
|
||||
Text(audioContent.translated?.detail ?? audioContent.detail)
|
||||
.font(.custom(Font.medium.rawValue, size: 14))
|
||||
.appFont(size: 14, weight: .medium)
|
||||
.foregroundColor(Color.gray90)
|
||||
.lineLimit(isExpandDescription ? nil : 3)
|
||||
.lineSpacing(5)
|
||||
@@ -175,7 +175,7 @@ struct ContentDetailInfoView: View {
|
||||
if isShowingPreviewAlert() {
|
||||
HStack(spacing: 0) {
|
||||
Text("미리듣기 중입니다.\n콘텐츠 구매 후 전체를 감상해 보세요.")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.graybb)
|
||||
.lineSpacing(5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user