커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -48,7 +48,7 @@ struct LiveRoomCreateView: View {
|
||||
|
||||
if viewModel.isShowGetRecentInfoButton {
|
||||
Text("최근 데이터 가져오기")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.foregroundColor(Color.button)
|
||||
.padding(.vertical, 8)
|
||||
.padding(.horizontal, 10.7)
|
||||
@@ -262,7 +262,7 @@ struct LiveRoomCreateView: View {
|
||||
Text(viewModel.errorMessage)
|
||||
.padding(.vertical, 13.3)
|
||||
.frame(width: geo.size.width - 66.7, alignment: .center)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.appFont(size: 12, weight: .medium)
|
||||
.background(Color.button)
|
||||
.foregroundColor(Color.white)
|
||||
.multilineTextAlignment(.center)
|
||||
@@ -290,7 +290,7 @@ struct LiveRoomCreateView: View {
|
||||
TextField("라이브 제목을 입력하세요", text: $viewModel.title)
|
||||
.autocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.accentColor(Color.button)
|
||||
.keyboardType(.default)
|
||||
@@ -334,7 +334,7 @@ struct LiveRoomCreateView: View {
|
||||
ForEach(viewModel.tags, id: \.self) { tag in
|
||||
HStack(spacing: 6.7) {
|
||||
Text(tag)
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Image("ic_circle_x")
|
||||
@@ -365,10 +365,10 @@ struct LiveRoomCreateView: View {
|
||||
Spacer()
|
||||
|
||||
Text("\(viewModel.content.count)자")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.foregroundColor(Color.mainRed) +
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.mainRed)
|
||||
Text(" / 1000자")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.gray77)
|
||||
}
|
||||
|
||||
@@ -449,7 +449,7 @@ struct LiveRoomCreateView: View {
|
||||
HStack(spacing: 13.3) {
|
||||
VStack(alignment: .leading, spacing: 6.7) {
|
||||
Text("예약 날짜")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
Button(action: {
|
||||
@@ -457,7 +457,7 @@ struct LiveRoomCreateView: View {
|
||||
self.isShowSelectDateView = true
|
||||
}) {
|
||||
Text(viewModel.reservationDateString)
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(width: buttonWidth, height: 48.7)
|
||||
.overlay(
|
||||
@@ -469,7 +469,7 @@ struct LiveRoomCreateView: View {
|
||||
|
||||
VStack(alignment: .leading, spacing: 6.7) {
|
||||
Text("예약 시간")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
Button(action: {
|
||||
@@ -477,7 +477,7 @@ struct LiveRoomCreateView: View {
|
||||
self.isShowSelectTimeView = true
|
||||
}) {
|
||||
Text(viewModel.reservationTimeString)
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(width: buttonWidth, height: 48.7)
|
||||
.overlay(
|
||||
@@ -504,7 +504,7 @@ struct LiveRoomCreateView: View {
|
||||
.autocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
.multilineTextAlignment(.center)
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.accentColor(Color.button)
|
||||
.keyboardType(.numberPad)
|
||||
@@ -642,7 +642,7 @@ struct LiveRoomCreateView: View {
|
||||
.autocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
.multilineTextAlignment(.center)
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(Color.grayee)
|
||||
.accentColor(Color.button)
|
||||
.keyboardType(.numberPad)
|
||||
@@ -736,7 +736,7 @@ struct LiveRoomCreateView: View {
|
||||
Spacer()
|
||||
|
||||
Text("캔")
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .medium)
|
||||
.foregroundColor(Color.button)
|
||||
}
|
||||
.padding(.horizontal, 13.3)
|
||||
|
||||
Reference in New Issue
Block a user