커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -35,7 +35,7 @@ struct ContentPlaylistModifyView: View {
|
||||
Spacer()
|
||||
|
||||
Text("수정")
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(minHeight: 48)
|
||||
.onTapGesture {
|
||||
@@ -58,7 +58,7 @@ struct ContentPlaylistModifyView: View {
|
||||
Spacer()
|
||||
|
||||
Text("\(viewModel.title.count)/30")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.onChange(of: viewModel.title) { newValue in
|
||||
if newValue.count > 30 {
|
||||
@@ -91,7 +91,7 @@ struct ContentPlaylistModifyView: View {
|
||||
Spacer()
|
||||
|
||||
Text("\(viewModel.desc.count)/40")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
.onChange(of: viewModel.desc) { newValue in
|
||||
if newValue.count > 40 {
|
||||
@@ -145,7 +145,7 @@ struct ContentPlaylistModifyView: View {
|
||||
Text(viewModel.errorMessage)
|
||||
.padding(.vertical, 13.3)
|
||||
.frame(width: screenSize().width - 66.7, alignment: .center)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.background(Color.button)
|
||||
.foregroundColor(Color.white)
|
||||
.multilineTextAlignment(.leading)
|
||||
|
||||
Reference in New Issue
Block a user