커스텀 폰트 pretendard-bold, gmarket-bold를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
This commit is contained in:
@@ -24,7 +24,7 @@ struct HomeLatestContentView: View {
|
||||
var body: some View {
|
||||
HStack(spacing: 0) {
|
||||
Text("최신 콘텐츠")
|
||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Spacer()
|
||||
|
||||
@@ -86,7 +86,7 @@ struct HomeTabView: View {
|
||||
if !viewModel.liveList.isEmpty {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
Text("지금 라이브중")
|
||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
.padding(.horizontal, 24)
|
||||
|
||||
@@ -121,7 +121,7 @@ struct HomeTabView: View {
|
||||
if !viewModel.creatorRanking.isEmpty {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
Text("인기 크리에이터")
|
||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
.padding(.horizontal, 24)
|
||||
|
||||
@@ -189,7 +189,7 @@ struct HomeTabView: View {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
HStack(spacing: 0) {
|
||||
Text("오직 보이스온에서만")
|
||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Spacer()
|
||||
@@ -258,7 +258,7 @@ struct HomeTabView: View {
|
||||
if !viewModel.recommendChannelList.isEmpty {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
Text("추천 채널")
|
||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
.padding(.horizontal, 24)
|
||||
|
||||
@@ -277,7 +277,7 @@ struct HomeTabView: View {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
HStack(spacing: 0) {
|
||||
Text("무료 콘텐츠")
|
||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Spacer()
|
||||
@@ -307,7 +307,7 @@ struct HomeTabView: View {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
HStack(spacing: 0) {
|
||||
Text("포인트 대여 콘텐츠")
|
||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Spacer()
|
||||
@@ -337,7 +337,7 @@ struct HomeTabView: View {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
HStack {
|
||||
Text("추천 콘텐츠")
|
||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Spacer()
|
||||
@@ -403,7 +403,7 @@ struct HomeTabView: View {
|
||||
.frame(width: 20, height: 20)
|
||||
|
||||
Text("콘텐츠 업로드")
|
||||
.font(.custom(Font.preBold.rawValue, size: 13.3))
|
||||
.appFont(size: 13.3, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
.padding(13.3)
|
||||
|
||||
@@ -17,7 +17,7 @@ struct HomeWeeklyChartItemView: View {
|
||||
var body: some View {
|
||||
HStack(spacing: 16) {
|
||||
Text("\(rank)")
|
||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(Color(hex: "B5E7FA"))
|
||||
.frame(width: 30)
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ struct HomeWeeklyChartView: View {
|
||||
VStack(spacing: 16) {
|
||||
HStack(spacing: 0) {
|
||||
Text("보온 주간 차트")
|
||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
Spacer()
|
||||
|
||||
@@ -25,7 +25,7 @@ struct RecommendChannelItemView: View {
|
||||
|
||||
VStack(alignment: .leading, spacing: 4) {
|
||||
Text(item.creatorNickname)
|
||||
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||
.appFont(size: 24, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
|
||||
HStack(spacing: 4) {
|
||||
@@ -34,7 +34,7 @@ struct RecommendChannelItemView: View {
|
||||
.foregroundColor(.white)
|
||||
|
||||
Text("\(item.contentCount)")
|
||||
.font(.custom(Font.preBold.rawValue, size: 18))
|
||||
.appFont(size: 18, weight: .bold)
|
||||
.foregroundColor(.white)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user