커스텀 폰트 pretendard-bold, gmarket-bold를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -60,7 +60,7 @@ struct TextMessageDetailView: View {
|
||||
messageItem.recipientNickname :
|
||||
messageItem.senderNickname
|
||||
)
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
}
|
||||
.padding(.vertical, 12.7)
|
||||
@@ -94,7 +94,7 @@ struct TextMessageDetailView: View {
|
||||
if messageBox == .receive {
|
||||
HStack(spacing: 6.7) {
|
||||
Text("답장")
|
||||
.font(.custom(Font.bold.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
.frame(
|
||||
width: (screenSize().width - 40) / 3,
|
||||
@@ -107,7 +107,7 @@ struct TextMessageDetailView: View {
|
||||
}
|
||||
|
||||
Text("보관")
|
||||
.font(.custom(Font.bold.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color(hex: "3bb9f1"))
|
||||
.frame(
|
||||
width: (screenSize().width - 40) / 3,
|
||||
@@ -126,7 +126,7 @@ struct TextMessageDetailView: View {
|
||||
}
|
||||
|
||||
Text("삭제")
|
||||
.font(.custom(Font.bold.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color(hex: "3bb9f1"))
|
||||
.frame(
|
||||
width: (screenSize().width - 40) / 3,
|
||||
@@ -142,7 +142,7 @@ struct TextMessageDetailView: View {
|
||||
.padding(.vertical, 26.7)
|
||||
} else {
|
||||
Text("삭제")
|
||||
.font(.custom(Font.bold.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color(hex: "3bb9f1"))
|
||||
.frame(
|
||||
width: screenSize().width - 26.7,
|
||||
|
||||
@@ -28,7 +28,7 @@ struct TextMessageWriteView: View {
|
||||
Spacer()
|
||||
|
||||
Text("새로운 메시지")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
|
||||
Spacer()
|
||||
@@ -97,7 +97,7 @@ struct TextMessageWriteView: View {
|
||||
Spacer()
|
||||
|
||||
Text(viewModel.sendText)
|
||||
.font(.custom(Font.bold.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
.frame(width: screenSize().width - 26.7, height: 48.7)
|
||||
.background(Color(hex: "3bb9f1"))
|
||||
|
||||
@@ -115,7 +115,7 @@ struct VoiceMessageView: View {
|
||||
|
||||
VStack(spacing: 0) {
|
||||
Text("메시지 보관")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color(hex: "bbbbbb"))
|
||||
.padding(.top, 40)
|
||||
|
||||
@@ -134,7 +134,7 @@ struct VoiceMessageView: View {
|
||||
|
||||
HStack(spacing: 13.3) {
|
||||
Text("취소")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color(hex: "3bb9f1"))
|
||||
.padding(.vertical, 16)
|
||||
.frame(width: (screenSize().width - 66.7) / 3)
|
||||
@@ -152,7 +152,7 @@ struct VoiceMessageView: View {
|
||||
}
|
||||
|
||||
Text("확인")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
.padding(.vertical, 16)
|
||||
.frame(width: (screenSize().width - 66.7) * 2 / 3)
|
||||
|
||||
@@ -36,7 +36,7 @@ struct VoiceMessageWriteView: View {
|
||||
VStack(spacing: 0) {
|
||||
HStack(spacing: 0) {
|
||||
Text("음성메시지")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Spacer()
|
||||
@@ -173,7 +173,7 @@ struct VoiceMessageWriteView: View {
|
||||
|
||||
HStack(spacing: 13.3) {
|
||||
Text("다시 녹음")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color(hex: "9970ff"))
|
||||
.frame(width: (proxy.size.width - 40) / 3, height: 50)
|
||||
.background(Color(hex: "9970ff").opacity(0.2))
|
||||
@@ -189,7 +189,7 @@ struct VoiceMessageWriteView: View {
|
||||
}
|
||||
|
||||
Text(viewModel.sendText)
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
.frame(width: (proxy.size.width - 40) * 2 / 3, height: 50)
|
||||
.background(Color(hex: "9970ff"))
|
||||
|
||||
Reference in New Issue
Block a user