커스텀 폰트 pretendard-bold, gmarket-bold를 사용하고 있던 것을 appFont 모디파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정

This commit is contained in:
Yu Sung
2026-01-23 02:57:23 +09:00
parent 5a344956e3
commit d92dcbc696
181 changed files with 500 additions and 500 deletions

View File

@@ -78,7 +78,7 @@ struct CharacterDetailView: View {
VStack(spacing: 16) {
HStack {
Text("장르의 다른 캐릭터")
.font(.custom(Font.preBold.rawValue, size: 26))
.appFont(size: 26, weight: .bold)
.foregroundColor(.white)
Spacer()
@@ -263,7 +263,7 @@ extension CharacterDetailView {
//
HStack(spacing: 8) {
Text(viewModel.characterDetail?.translated?.name ?? viewModel.characterDetail?.name ?? "")
.font(.custom(Font.preBold.rawValue, size: 26))
.appFont(size: 26, weight: .bold)
.foregroundColor(.white)
.lineLimit(1)
.truncationMode(.tail)
@@ -301,7 +301,7 @@ extension CharacterDetailView {
VStack(alignment: .leading, spacing: 8) {
HStack {
Text("[세계관 및 작품 소개]")
.font(.custom(Font.preBold.rawValue, size: 18))
.appFont(size: 18, weight: .bold)
.foregroundColor(.white)
Spacer()
@@ -319,7 +319,7 @@ extension CharacterDetailView {
VStack(spacing: 8) {
HStack {
Text("원작")
.font(.custom(Font.preBold.rawValue, size: 16))
.appFont(size: 16, weight: .bold)
.fontWeight(.bold)
.foregroundColor(.white)
@@ -340,7 +340,7 @@ extension CharacterDetailView {
}
}) {
Text("원작 보러가기")
.font(.custom(Font.preBold.rawValue, size: 16))
.appFont(size: 16, weight: .bold)
.fontWeight(.bold)
.foregroundColor(Color(hex: "3BB9F1"))
.frame(maxWidth: .infinity)
@@ -361,7 +361,7 @@ extension CharacterDetailView {
VStack(alignment: .leading, spacing: 8) {
HStack {
Text("[성격 및 특징]")
.font(.custom(Font.preBold.rawValue, size: 18))
.appFont(size: 18, weight: .bold)
.foregroundColor(.white)
Spacer()
@@ -373,7 +373,7 @@ extension CharacterDetailView {
VStack(alignment: .leading, spacing: 16) {
HStack {
Text("⚠️ 캐릭터톡 대화 가이드")
.font(.custom(Font.preBold.rawValue, size: 16))
.appFont(size: 16, weight: .bold)
.foregroundColor(Color(hex: "B0BEC5"))
Spacer()
@@ -412,7 +412,7 @@ extension CharacterDetailView {
extension CharacterDetailView {
private var chatButton: some View {
Text("대화하기")
.font(.custom(Font.preBold.rawValue, size: 18))
.appFont(size: 18, weight: .bold)
.foregroundColor(.white)
.frame(maxWidth: .infinity)
.frame(height: 54)

View File

@@ -95,7 +95,7 @@ struct CharacterDetailGalleryView: View {
// ( % , , )
HStack {
Text("\(viewModel.ownershipPercentage)% 보유중")
.font(.custom(Font.preBold.rawValue, size: 18))
.appFont(size: 18, weight: .bold)
.foregroundColor(.white)
Spacer()
@@ -181,7 +181,7 @@ struct CharacterDetailGalleryView: View {
.frame(width: 16)
Text("\(item.imagePriceCan)")
.font(.custom(Font.preBold.rawValue, size: 16))
.appFont(size: 16, weight: .bold)
.foregroundColor(Color(hex: "#263238"))
}
.padding(.horizontal, 12)