커스텀 폰트 pretendard-bold, gmarket-bold를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -40,7 +40,7 @@ struct LiveRoomCreateView: View {
|
||||
.frame(width: 20, height: 20)
|
||||
|
||||
Text("라이브 만들기")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ struct LiveRoomCreateView: View {
|
||||
VStack(spacing: 0) {
|
||||
VStack(spacing: 0) {
|
||||
Text("썸네일")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.padding(.horizontal, 13.3)
|
||||
.padding(.top, 13.3)
|
||||
@@ -156,7 +156,7 @@ struct LiveRoomCreateView: View {
|
||||
|
||||
VStack(spacing: 13.3) {
|
||||
Text("크리에이터 입장 설정")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||
|
||||
@@ -193,7 +193,7 @@ struct LiveRoomCreateView: View {
|
||||
}
|
||||
}) {
|
||||
Text("라이브 오픈하기")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(Color.white)
|
||||
.frame(width: screenSize().width - 26.7, height: 50)
|
||||
.background(Color.button)
|
||||
@@ -282,7 +282,7 @@ struct LiveRoomCreateView: View {
|
||||
func TitleInputView() -> some View {
|
||||
VStack(spacing: 0) {
|
||||
Text("제목")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.padding(.horizontal, 13.3)
|
||||
.frame(width: screenSize().width, alignment: .leading)
|
||||
@@ -308,7 +308,7 @@ struct LiveRoomCreateView: View {
|
||||
func TagSelectView() -> some View {
|
||||
VStack(alignment: .leading, spacing: 13.3) {
|
||||
Text("관심사")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
Button(action: {
|
||||
@@ -316,7 +316,7 @@ struct LiveRoomCreateView: View {
|
||||
isShowSelectTagView = true
|
||||
}) {
|
||||
Text("관심사 선택")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.button)
|
||||
.padding(.vertical, 13.7)
|
||||
.frame(width: screenSize().width - 26.7)
|
||||
@@ -359,7 +359,7 @@ struct LiveRoomCreateView: View {
|
||||
VStack(spacing: 13.3) {
|
||||
HStack(spacing: 0) {
|
||||
Text("공지")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
|
||||
Spacer()
|
||||
@@ -388,7 +388,7 @@ struct LiveRoomCreateView: View {
|
||||
func TimeSettingView() -> some View {
|
||||
VStack(spacing: 0) {
|
||||
Text("시간설정")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||
|
||||
@@ -426,7 +426,7 @@ struct LiveRoomCreateView: View {
|
||||
}
|
||||
|
||||
Text(title)
|
||||
.font(.custom(Font.bold.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(
|
||||
viewModel.timeSettingMode == timeSettingMode ?
|
||||
.white :
|
||||
@@ -496,7 +496,7 @@ struct LiveRoomCreateView: View {
|
||||
func NumberOfPeopleLimitView() -> some View {
|
||||
VStack(spacing: 13.3) {
|
||||
Text("참여인원 설정")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||
|
||||
@@ -581,7 +581,7 @@ struct LiveRoomCreateView: View {
|
||||
func RoomTypeSettingView() -> some View {
|
||||
VStack(spacing: 0) {
|
||||
Text("공개 설정")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||
|
||||
@@ -616,7 +616,7 @@ struct LiveRoomCreateView: View {
|
||||
}
|
||||
|
||||
Text(title)
|
||||
.font(.custom(Font.bold.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(viewModel.roomType == type ? .white : Color.button)
|
||||
}
|
||||
.frame(width: buttonWidth, height: 48.7)
|
||||
@@ -634,7 +634,7 @@ struct LiveRoomCreateView: View {
|
||||
func RoomPasswordView() -> some View {
|
||||
VStack(spacing: 13.3) {
|
||||
Text("방 비밀번호 입력")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||
|
||||
@@ -657,7 +657,7 @@ struct LiveRoomCreateView: View {
|
||||
func AdultSettingView() -> some View {
|
||||
VStack(spacing: 13.3) {
|
||||
Text("연령 제한")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||
|
||||
@@ -685,7 +685,7 @@ struct LiveRoomCreateView: View {
|
||||
}
|
||||
|
||||
Text(title)
|
||||
.font(.custom(Font.bold.rawValue, size: 14.7))
|
||||
.appFont(size: 14.7, weight: .bold)
|
||||
.foregroundColor(viewModel.isAdult == isAdult ? .white : Color.button)
|
||||
}
|
||||
.frame(width: buttonWidth, height: 48.7)
|
||||
@@ -703,7 +703,7 @@ struct LiveRoomCreateView: View {
|
||||
func PriceSettingView() -> some View {
|
||||
VStack(spacing: 13.3) {
|
||||
Text("티켓 가격")
|
||||
.font(.custom(Font.bold.rawValue, size: 16.7))
|
||||
.appFont(size: 16.7, weight: .bold)
|
||||
.foregroundColor(Color.grayee)
|
||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||
|
||||
@@ -728,7 +728,7 @@ struct LiveRoomCreateView: View {
|
||||
.autocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
.multilineTextAlignment(.center)
|
||||
.font(.custom(Font.bold.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .bold)
|
||||
.foregroundColor(Color.button)
|
||||
.accentColor(Color.button)
|
||||
.keyboardType(.numberPad)
|
||||
|
||||
@@ -30,7 +30,7 @@ struct LiveRoomCreateTagView: View {
|
||||
HStack(alignment: .top, spacing: 0) {
|
||||
VStack(alignment: .leading, spacing: 6.7) {
|
||||
Text("관심사 선택")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Text("최대 3개까지 선택 가능합니다.")
|
||||
@@ -101,7 +101,7 @@ struct LiveRoomCreateTagView: View {
|
||||
.padding(.top, 26.7)
|
||||
|
||||
Text("확인")
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.appFont(size: 18.3, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
.padding(.vertical, 16)
|
||||
.frame(width: screenSize().width - 26.7)
|
||||
|
||||
Reference in New Issue
Block a user