Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions AIProject/iCo/Features/Base/ReportSectionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ struct ReportSectionView<Value, Trailing: View, Content: View>: 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()
Expand All @@ -92,7 +92,7 @@ struct ReportSectionView<Value, Trailing: View, Content: View>: View {
}
case .success(let value):
content(value)
.font(.system(size: 14))
.font(.ico14)
.foregroundStyle(.iCoLabel)
.lineSpacing(6)
.fixedSize(horizontal: false, vertical: true)
Expand Down Expand Up @@ -151,7 +151,7 @@ struct ReportSectionView<Value, Trailing: View, Content: View>: 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("내용 복사")
Expand All @@ -175,7 +175,7 @@ struct ReportSectionView<Value, Trailing: View, Content: View>: 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("내용 복사")
Expand Down Expand Up @@ -218,7 +218,7 @@ struct ReportSectionView<Value, Trailing: View, Content: View>: 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("내용 복사")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions AIProject/iCo/Features/CoinDetail/View/ReportView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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) }
Expand Down
8 changes: 4 additions & 4 deletions AIProject/iCo/Features/Dashboard/View/FearGreedView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down