diff --git a/AIProject/iCo/Features/Base/ReportSectionView.swift b/AIProject/iCo/Features/Base/ReportSectionView.swift index 38a43997..202eecd9 100644 --- a/AIProject/iCo/Features/Base/ReportSectionView.swift +++ b/AIProject/iCo/Features/Base/ReportSectionView.swift @@ -69,11 +69,11 @@ struct ReportSectionView: View { // Header HStack { Image(systemName: data.icon) - .font(.system(size: 14, weight: .bold)) + .font(.ico14B) .foregroundStyle(.iCoAccent) Text(data.title) - .font(.system(size: 16, weight: .bold)) + .font(.ico16B) .foregroundStyle(.iCoLabel) Spacer() @@ -92,7 +92,7 @@ struct ReportSectionView: View { } case .success(let value): content(value) - .font(.system(size: 14)) + .font(.ico14) .foregroundStyle(.iCoLabel) .lineSpacing(6) .fixedSize(horizontal: false, vertical: true) @@ -151,7 +151,7 @@ struct ReportSectionView: View { trailing: { value in Button(action: { UIPasteboard.general.string = value }) { Image(systemName: "doc.on.doc") - .font(.system(size: 14, weight: .semibold)) + .font(.ico14Sb) } .buttonStyle(.plain) .accessibilityLabel("내용 복사") @@ -175,7 +175,7 @@ struct ReportSectionView: View { trailing: { value in Button(action: { UIPasteboard.general.string = value }) { Image(systemName: "doc.on.doc") - .font(.system(size: 14, weight: .semibold)) + .font(.ico14Sb) } .buttonStyle(.plain) .accessibilityLabel("내용 복사") @@ -218,7 +218,7 @@ struct ReportSectionView: View { trailing: { value in Button(action: { UIPasteboard.general.string = value }) { Image(systemName: "doc.on.doc") - .font(.system(size: 14, weight: .semibold)) + .font(.ico14Sb) } .buttonStyle(.plain) .accessibilityLabel("내용 복사") diff --git a/AIProject/iCo/Features/CoinDetail/View/ReportNewsSectionView.swift b/AIProject/iCo/Features/CoinDetail/View/ReportNewsSectionView.swift index dcda47f0..3b773cb0 100644 --- a/AIProject/iCo/Features/CoinDetail/View/ReportNewsSectionView.swift +++ b/AIProject/iCo/Features/CoinDetail/View/ReportNewsSectionView.swift @@ -29,14 +29,14 @@ struct ReportNewsSectionView: View { var body: some View { VStack(alignment: .leading, spacing: 0) { Text(title) - .font(.system(size: 13, weight: .bold)) + .font(.ico13B) .foregroundStyle(.iCoAccent) ForEach(displayedArticles, id: \.id) { article in VStack(alignment: .leading, spacing: 8) { HStack { Text(article.title.byCharWrapping) - .font(.system(size: 15, weight: .bold)) + .font(.ico15B) .foregroundStyle(.iCoLabel) .lineLimit(1) @@ -50,7 +50,7 @@ struct ReportNewsSectionView: View { } Text(article.summary.byCharWrapping) - .font(.system(size: 14)) + .font(.ico14) .foregroundStyle(.iCoLabel) .lineSpacing(6) .fixedSize(horizontal: false, vertical: true) diff --git a/AIProject/iCo/Features/CoinDetail/View/ReportView.swift b/AIProject/iCo/Features/CoinDetail/View/ReportView.swift index 6193bc7d..2d58c499 100644 --- a/AIProject/iCo/Features/CoinDetail/View/ReportView.swift +++ b/AIProject/iCo/Features/CoinDetail/View/ReportView.swift @@ -18,12 +18,12 @@ struct ReportView: View { VStack(alignment: .leading, spacing: 16) { if hSizeClass == .regular { Text("AI 리포트") - .font(.system(size: 18, weight: .bold)) + .font(.ico18B) .foregroundStyle(.iCoLabel) } Text(String.aiGeneratedContentNotice) - .font(.system(size: 11)) + .font(.ico11) .foregroundStyle(.iCoNeutral) .lineSpacing(5) diff --git a/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift b/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift index 3dbb824a..9e3a9b63 100644 --- a/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift +++ b/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift @@ -31,7 +31,7 @@ struct AIBriefingView: View { VStack(alignment: .leading, spacing: 20) { Text(String.aiGeneratedContentNotice) - .font(.system(size: 11)) + .font(.ico11) .foregroundStyle(.iCoNeutral) .lineSpacing(5) @@ -66,7 +66,7 @@ struct AIBriefingView: View { data: data, trailing: { Text($0.sentiment.rawValue) - .font(.system(size: 16, weight: .bold)) + .font(.ico16B) .foregroundStyle($0.sentiment.color(for: themeManager.selectedTheme)) }, content: { Text($0.summary.byCharWrapping) } diff --git a/AIProject/iCo/Features/Dashboard/View/FearGreedView.swift b/AIProject/iCo/Features/Dashboard/View/FearGreedView.swift index f8fcda44..3c401469 100644 --- a/AIProject/iCo/Features/Dashboard/View/FearGreedView.swift +++ b/AIProject/iCo/Features/Dashboard/View/FearGreedView.swift @@ -20,11 +20,11 @@ struct FearGreedView: View { HStack(alignment: .center, spacing: 16) { VStack(alignment: .leading, spacing: 8) { Text("공포 & 탐욕 지수") - .font(.system(size: 19, weight: .bold)) + .font(.ico19B) .foregroundStyle(.iCoLabel) Text("ⓘ Fear & Greed 지수는 투자 심리를 0~100 사이 수치로 나타낸 지표로, 0에 가까울수록 불안감으로 투자를 피하는 '공포', 100에 가까울수록 낙관적으로 적극 매수하는 '탐욕'을 의미합니다.".byCharWrapping) - .font(.system(size: 11)) + .font(.ico11) .foregroundStyle(.iCoLabelSecondary) .lineSpacing(3) .fixedSize(horizontal: false, vertical: true) @@ -83,12 +83,12 @@ extension FearGreedView { VStack(spacing: size.height * 0.15) { Text("\(Int(viewModel.indexValue))") - .font(.system(size: size.width * 0.3, weight: .bold)) + .font(.dynamic(size: size.width * 0.3, weight: .bold)) .foregroundColor(.iCoLabel) .minimumScaleFactor(0.5) Text(viewModel.classification) - .font(.system(size: size.width * 0.15, weight: .semibold)) + .font(.dynamic(size: size.width * 0.15, weight: .semibold)) .foregroundStyle(viewModel.fearGreed.color) .padding(.top, size.height * 0.01) .frame(maxWidth: size.width * 0.6)