From f10d85ad468d5dcab08a423aa48e0cae833aeea1 Mon Sep 17 00:00:00 2001 From: kitcat-s Date: Mon, 20 Oct 2025 14:49:07 +0900 Subject: [PATCH] =?UTF-8?q?design:=20=EC=83=89=EC=83=81=20=EC=97=90?= =?UTF-8?q?=EC=85=8B=20=EC=9D=B4=EB=A6=84=20=EB=B3=80=EA=B2=BD=20AiCo=20?= =?UTF-8?q?=E2=86=92=20iCo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AIProject/iCOWidget/CoinWidget.swift | 18 +++++++++--------- .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 .../Contents.json | 0 AIProject/iCo/Core/Util/Gradient+Util.swift | 4 ++-- AIProject/iCo/Core/Util/String+Util.swift | 4 ++-- .../Data/API/Gemini/DTO/CoinOverviewDTO.swift | 2 +- AIProject/iCo/Domain/Model/Common/Theme.swift | 14 +++++++------- .../iCo/Domain/Model/Dashboard/Sentiment.swift | 2 +- .../iCo/Features/Base/CircleDeleteButton.swift | 4 ++-- .../iCo/Features/Base/CircleIconView.swift | 4 ++-- .../iCo/Features/Base/CoinLabelView.swift | 2 +- AIProject/iCo/Features/Base/CoinView.swift | 4 ++-- .../Features/Base/CommonPlaceholderView.swift | 6 +++--- .../Features/Base/DefaultProgressView.swift | 14 +++++++------- AIProject/iCo/Features/Base/HeaderView.swift | 10 +++++----- .../iCo/Features/Base/ReportSectionView.swift | 8 ++++---- .../iCo/Features/Base/RoundedButton.swift | 8 ++++---- .../Features/Base/RoundedRectangleButton.swift | 6 +++--- .../Base/RoundedRectangleFillButton.swift | 6 +++--- .../Features/Base/SegmentedControlView.swift | 6 +++--- .../iCo/Features/Base/SortToggleButton.swift | 2 +- .../iCo/Features/Base/SubheaderView.swift | 10 +++++----- .../Base/TimestampWithRefreshButtonView.swift | 2 +- .../Features/ChatBot/View/BotMessageView.swift | 8 ++++---- .../Features/ChatBot/View/ChatBotFAQView.swift | 10 +++++----- .../Features/ChatBot/View/ChatBotView.swift | 2 +- .../Features/ChatBot/View/ChatInputView.swift | 8 ++++---- .../ChatBot/View/UserMessageView.swift | 4 ++-- .../Features/CoinDetail/View/ChartView.swift | 8 ++++---- .../View/ReportNewsSectionView.swift | 10 +++++----- .../Features/CoinDetail/View/ReportView.swift | 4 ++-- .../Dashboard/View/AIBriefingView.swift | 2 +- .../Dashboard/View/DashboardView.swift | 6 +++--- .../Dashboard/View/FearGreedView.swift | 8 ++++---- .../RecomendationPlaceholderCardView.swift | 2 +- .../Dashboard/View/RecommendCardView.swift | 12 ++++++------ .../Market/CoinList/CoinListView.swift | 4 ++-- .../SubView/BlinkUnderlineOnChange.swift | 4 ++-- .../iCo/Features/Market/SubView/CoinCell.swift | 6 +++--- .../Market/SubView/HeaderToggleButton.swift | 4 ++-- .../Market/SubView/HighlightedText.swift | 2 +- .../Market/SubView/RecentCoinSectionView.swift | 2 +- .../MyPage/View/Bookmark/BookmarkView.swift | 6 +++--- .../View/Bookmark/BriefingSectionView.swift | 4 ++-- .../MyPage/View/Bookmark/ExportView.swift | 2 +- .../BookmarkBulkInsert/ContentSection.swift | 4 ++-- .../BookmarkBulkInsert/HeaderSection.swift | 2 +- .../MyPage/View/CoinListSectionView.swift | 6 +++--- .../MyPage/View/Main/MyPageMenuRow.swift | 4 ++-- .../Features/MyPage/View/Main/MyPageView.swift | 4 ++-- .../View/Theme/ThemePreviewChartView.swift | 2 +- .../Features/MyPage/View/Theme/ThemeRow.swift | 4 ++-- .../Features/MyPage/View/Theme/ThemeView.swift | 2 +- .../iCo/Features/Search/SearchBarView.swift | 6 +++--- 75 files changed, 144 insertions(+), 144 deletions(-) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoAccent.colorset => ICoAccent.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoBackground.colorset => ICoBackground.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoBackgroundAccent.colorset => ICoBackgroundAccent.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoBackgroundBlue.colorset => ICoBackgroundBlue.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoBackgroundGradientLight.colorset => ICoBackgroundGradientLight.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoBackgroundGradientProminent.colorset => ICoBackgroundGradientProminent.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoBackgroundWhite.colorset => ICoBackgroundWhite.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoBackgroundYellow.colorset => ICoBackgroundYellow.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoBorder.colorset => ICoBorder.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoBorderGray.colorset => ICoBorderGray.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoGradientAccentLight.colorset => ICoGradientAccentLight.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoGradientAccentProminent.colorset => ICoGradientAccentProminent.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoGradientDefaultLight.colorset => ICoGradientDefaultLight.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoGradientDefaultProminent.colorset => ICoGradientDefaultProminent.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoLabel.colorset => ICoLabel.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoLabelSecondary.colorset => ICoLabelSecondary.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoNegative.colorset => ICoNegative.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoNegativeClassic.colorset => ICoNegativeClassic.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoNegativePop.colorset => ICoNegativePop.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoNeutral.colorset => ICoNeutral.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoPositive.colorset => ICoPositive.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoPositiveClassic.colorset => ICoPositiveClassic.colorset}/Contents.json (100%) rename AIProject/iCo/App/Resource/Assets.xcassets/{AICoPositivePop.colorset => ICoPositivePop.colorset}/Contents.json (100%) diff --git a/AIProject/iCOWidget/CoinWidget.swift b/AIProject/iCOWidget/CoinWidget.swift index 1b42987e..27c0eb43 100644 --- a/AIProject/iCOWidget/CoinWidget.swift +++ b/AIProject/iCOWidget/CoinWidget.swift @@ -164,7 +164,7 @@ struct CoinWidgetEntryView: View { if entry.coins.count > 1 { Divider() - .background(Color.aiCoBorderGray) + .background(Color.iCoBorderGray) .padding(.vertical, 8) CoinCardView(coin: entry.coins[1], date: entry.date) } @@ -176,13 +176,13 @@ struct CoinWidgetEntryView: View { } else { emptyView } } } - .containerBackground(.aiCoBackground, for: .widget) + .containerBackground(.iCoBackground, for: .widget) } private var emptyView: some View { Text("선택된 코인 없음") .font(.system(size: 10)) - .foregroundColor(.aiCoLabelSecondary) + .foregroundColor(.iCoLabelSecondary) .frame(maxWidth: .infinity, alignment: .leading) } } @@ -218,11 +218,11 @@ struct CoinCardView: View { VStack(alignment: .leading) { Text(coin.koreanName) .font(.system(size: isSmall ? 10 : 12, weight: .semibold)) - .foregroundColor(.aiCoLabel) + .foregroundColor(.iCoLabel) Text(coin.symbol) .font(.system(size: isSmall ? 10 : 12)) - .foregroundColor(.aiCoLabelSecondary) + .foregroundColor(.iCoLabelSecondary) } HStack(spacing: 0) { @@ -233,7 +233,7 @@ struct CoinCardView: View { Text(date.formatted(date: .omitted, time: .shortened)) .font(.system(size: isSmall ? 8 : 10)) } - .foregroundColor(.aiCoLabelSecondary) + .foregroundColor(.iCoLabelSecondary) .frame(maxWidth: .infinity, alignment: .trailing) } @@ -244,12 +244,12 @@ struct CoinCardView: View { HStack { Text(coin.price.formatKRW) .font(.system(size: 10)) - .foregroundColor(.aiCoLabel) + .foregroundColor(.iCoLabel) Spacer() Text("\(coin.change, specifier: "%.2f")%") .font(.system(size: 10)).bold() - .foregroundColor(coin.change >= 0 ? .aiCoPositive : .aiCoNegative) + .foregroundColor(coin.change >= 0 ? .iCoPositive : .iCoNegative) } } .frame(maxWidth: .infinity, maxHeight: .infinity) @@ -289,7 +289,7 @@ struct SparklineView: View { } } } - .stroke(Color.aiCoAccent, style: StrokeStyle(lineWidth: 2, lineJoin: .round)) + .stroke(Color.iCoAccent, style: StrokeStyle(lineWidth: 2, lineJoin: .round)) if let last = normalized.last { let x = geo.size.width diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoAccent.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoAccent.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoAccent.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoAccent.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoBackground.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoBackground.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoBackground.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoBackground.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundAccent.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundAccent.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundAccent.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundAccent.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundBlue.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundBlue.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundBlue.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundBlue.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundGradientLight.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundGradientLight.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundGradientLight.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundGradientLight.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundGradientProminent.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundGradientProminent.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundGradientProminent.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundGradientProminent.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundWhite.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundWhite.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundWhite.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundWhite.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundYellow.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundYellow.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoBackgroundYellow.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoBackgroundYellow.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoBorder.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoBorder.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoBorder.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoBorder.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoBorderGray.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoBorderGray.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoBorderGray.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoBorderGray.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoGradientAccentLight.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoGradientAccentLight.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoGradientAccentLight.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoGradientAccentLight.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoGradientAccentProminent.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoGradientAccentProminent.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoGradientAccentProminent.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoGradientAccentProminent.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoGradientDefaultLight.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoGradientDefaultLight.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoGradientDefaultLight.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoGradientDefaultLight.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoGradientDefaultProminent.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoGradientDefaultProminent.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoGradientDefaultProminent.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoGradientDefaultProminent.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoLabel.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoLabel.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoLabel.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoLabel.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoLabelSecondary.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoLabelSecondary.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoLabelSecondary.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoLabelSecondary.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoNegative.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoNegative.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoNegative.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoNegative.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoNegativeClassic.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoNegativeClassic.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoNegativeClassic.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoNegativeClassic.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoNegativePop.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoNegativePop.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoNegativePop.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoNegativePop.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoNeutral.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoNeutral.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoNeutral.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoNeutral.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoPositive.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoPositive.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoPositive.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoPositive.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoPositiveClassic.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoPositiveClassic.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoPositiveClassic.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoPositiveClassic.colorset/Contents.json diff --git a/AIProject/iCo/App/Resource/Assets.xcassets/AICoPositivePop.colorset/Contents.json b/AIProject/iCo/App/Resource/Assets.xcassets/ICoPositivePop.colorset/Contents.json similarity index 100% rename from AIProject/iCo/App/Resource/Assets.xcassets/AICoPositivePop.colorset/Contents.json rename to AIProject/iCo/App/Resource/Assets.xcassets/ICoPositivePop.colorset/Contents.json diff --git a/AIProject/iCo/Core/Util/Gradient+Util.swift b/AIProject/iCo/Core/Util/Gradient+Util.swift index 5a0835df..fa42059c 100644 --- a/AIProject/iCo/Core/Util/Gradient+Util.swift +++ b/AIProject/iCo/Core/Util/Gradient+Util.swift @@ -20,9 +20,9 @@ extension Gradient { var colors: [Color] { switch self { case .default: - return [.aiCoGradientDefaultLight, .aiCoGradientDefaultProminent, .aiCoGradientDefaultLight] + return [.iCoGradientDefaultLight, .iCoGradientDefaultProminent, .iCoGradientDefaultLight] case .accent: - return [.aiCoGradientAccentLight, .aiCoGradientAccentProminent, .aiCoGradientAccentLight] + return [.iCoGradientAccentLight, .iCoGradientAccentProminent, .iCoGradientAccentLight] } } } diff --git a/AIProject/iCo/Core/Util/String+Util.swift b/AIProject/iCo/Core/Util/String+Util.swift index 6e836a99..b544577b 100644 --- a/AIProject/iCo/Core/Util/String+Util.swift +++ b/AIProject/iCo/Core/Util/String+Util.swift @@ -83,7 +83,7 @@ extension String { /// 문자열 내의 숫자와 기호를 찾아 지정한 색상과 두께로 강조한 Text로 반환하는 확장 /// - Regex: /// - 모든 숫자는 하이라이트 처리 - func highlightTextForNumbersOperator(highlightColor: Color = .aiCoLabel, weight: Font.Weight = .bold) -> Text { + func highlightTextForNumbersOperator(highlightColor: Color = .iCoLabel, weight: Font.Weight = .bold) -> Text { let pattern = #"\d"# guard let regex = try? NSRegularExpression(pattern: pattern) else { return Text(self) @@ -115,7 +115,7 @@ extension String { /// - Parameters: /// - searchTerm: 검색어 func highlighted(_ searchTerm: String, - color: Color = .aiCoAccent, + color: Color = .iCoAccent, font: Font = Font.system(size: 14, weight: .bold)) -> AttributedString { var attributed = AttributedString(self) let lowercasedText = self.lowercased() diff --git a/AIProject/iCo/Data/API/Gemini/DTO/CoinOverviewDTO.swift b/AIProject/iCo/Data/API/Gemini/DTO/CoinOverviewDTO.swift index 015c940d..2ec312a3 100644 --- a/AIProject/iCo/Data/API/Gemini/DTO/CoinOverviewDTO.swift +++ b/AIProject/iCo/Data/API/Gemini/DTO/CoinOverviewDTO.swift @@ -30,7 +30,7 @@ extension CoinOverviewDTO { let prefix = AttributedString("- 웹사이트: ") var link = AttributedString(URL(string: urlString)?.host ?? urlString) link.link = url - link.foregroundColor = .aiCoAccent + link.foregroundColor = .iCoAccent link.underlineStyle = .single overview.append(prefix) overview.append(link) diff --git a/AIProject/iCo/Domain/Model/Common/Theme.swift b/AIProject/iCo/Domain/Model/Common/Theme.swift index 4cc48f8c..25479e0c 100644 --- a/AIProject/iCo/Domain/Model/Common/Theme.swift +++ b/AIProject/iCo/Domain/Model/Common/Theme.swift @@ -16,22 +16,22 @@ enum Theme: String, CaseIterable { /// 선택된 테마에 대응하는 상승 색상 var positiveColor: Color { switch self { - case .basic: return .aiCoPositive - case .pop: return .aiCoPositivePop - case .classic: return .aiCoPositiveClassic + case .basic: return .iCoPositive + case .pop: return .iCoPositivePop + case .classic: return .iCoPositiveClassic } } /// 선택된 테마에 대응하는 하락 색상 var negativeColor: Color { switch self { - case .basic: return .aiCoNegative - case .pop: return .aiCoNegativePop - case .classic: return .aiCoNegativeClassic + case .basic: return .iCoNegative + case .pop: return .iCoNegativePop + case .classic: return .iCoNegativeClassic } } - var neutral: Color { .aiCoNeutral } + var neutral: Color { .iCoNeutral } } extension Theme { diff --git a/AIProject/iCo/Domain/Model/Dashboard/Sentiment.swift b/AIProject/iCo/Domain/Model/Dashboard/Sentiment.swift index 599b048c..1be43a9f 100644 --- a/AIProject/iCo/Domain/Model/Dashboard/Sentiment.swift +++ b/AIProject/iCo/Domain/Model/Dashboard/Sentiment.swift @@ -21,7 +21,7 @@ enum Sentiment: String { switch self { case .positive: return theme.positiveColor case .negative: return theme.negativeColor - case .neutral: return .aiCoNeutral + case .neutral: return .iCoNeutral } } } diff --git a/AIProject/iCo/Features/Base/CircleDeleteButton.swift b/AIProject/iCo/Features/Base/CircleDeleteButton.swift index 0e01dec5..6232ba73 100644 --- a/AIProject/iCo/Features/Base/CircleDeleteButton.swift +++ b/AIProject/iCo/Features/Base/CircleDeleteButton.swift @@ -20,11 +20,11 @@ struct CircleDeleteButton: View { } label: { Image(systemName: "xmark") .font(.system(size: fontSize)) - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) .padding(5) .background { Circle() - .fill(.aiCoBackgroundWhite) + .fill(.iCoBackgroundWhite) } .overlay { Circle() diff --git a/AIProject/iCo/Features/Base/CircleIconView.swift b/AIProject/iCo/Features/Base/CircleIconView.swift index 01a49edc..2c46cd0f 100644 --- a/AIProject/iCo/Features/Base/CircleIconView.swift +++ b/AIProject/iCo/Features/Base/CircleIconView.swift @@ -21,10 +21,10 @@ struct CircleIconView: View { .scaledToFit() .frame(height: 16) .fontWeight(.regular) - .foregroundStyle(.aiCoAccent) + .foregroundStyle(.iCoAccent) } .frame(width: 36, height: 36) - .background(.aiCoBackgroundAccent) + .background(.iCoBackgroundAccent) .clipShape(Circle()) .overlay(Circle().strokeBorder(.accentGradient, lineWidth: 0.5)) } diff --git a/AIProject/iCo/Features/Base/CoinLabelView.swift b/AIProject/iCo/Features/Base/CoinLabelView.swift index 7ea97887..48dbba3e 100644 --- a/AIProject/iCo/Features/Base/CoinLabelView.swift +++ b/AIProject/iCo/Features/Base/CoinLabelView.swift @@ -10,7 +10,7 @@ import SwiftUI /// 재사용 가능한 라벨 뱃지 (ex: 코인 심볼) struct CoinLabelView: View { let text: String - let foregroundColor: Color = .aiCoLabelSecondary + let foregroundColor: Color = .iCoLabelSecondary // let backgroundColor: Color var body: some View { diff --git a/AIProject/iCo/Features/Base/CoinView.swift b/AIProject/iCo/Features/Base/CoinView.swift index 8bff4a16..938edd1a 100644 --- a/AIProject/iCo/Features/Base/CoinView.swift +++ b/AIProject/iCo/Features/Base/CoinView.swift @@ -26,9 +26,9 @@ struct CoinView: View { CachedAsyncImage(resource: .symbol(symbol)) { Text(String(symbol.prefix(1))) .font(.system(size: size / 2)) - .foregroundStyle(.aiCoAccent) + .foregroundStyle(.iCoAccent) .frame(maxWidth: .infinity, maxHeight: .infinity) - .background(.aiCoBackgroundAccent) + .background(.iCoBackgroundAccent) .overlay( Circle().strokeBorder(.defaultGradient, lineWidth: 0.5) ) diff --git a/AIProject/iCo/Features/Base/CommonPlaceholderView.swift b/AIProject/iCo/Features/Base/CommonPlaceholderView.swift index 9e54807b..801f2796 100644 --- a/AIProject/iCo/Features/Base/CommonPlaceholderView.swift +++ b/AIProject/iCo/Features/Base/CommonPlaceholderView.swift @@ -24,9 +24,9 @@ struct CommonPlaceholderView: View { .scaledToFit() .frame(width: hSizeClass == .regular ? 200 : 130) .padding(50) - .foregroundStyle(.aiCoLabelSecondary.opacity(colorScheme == .light ? 0.1 : 0.5)) + .foregroundStyle(.iCoLabelSecondary.opacity(colorScheme == .light ? 0.1 : 0.5)) .opacity(showLogo && colorScheme == .dark ? 1 : 0.8) - .background(.aiCoBackground) + .background(.iCoBackground) .clipShape(.circle) .overlay { Circle() @@ -36,7 +36,7 @@ struct CommonPlaceholderView: View { Text(text) .font(.system(size: 14)) - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) .lineSpacing(6) } } diff --git a/AIProject/iCo/Features/Base/DefaultProgressView.swift b/AIProject/iCo/Features/Base/DefaultProgressView.swift index 33543c5b..48a8c49d 100644 --- a/AIProject/iCo/Features/Base/DefaultProgressView.swift +++ b/AIProject/iCo/Features/Base/DefaultProgressView.swift @@ -55,22 +55,22 @@ struct DefaultProgressView: View { switch status { case .loading: ProgressView() - .progressViewStyle(CircularProgressViewStyle(tint: .aiCoAccent)) + .progressViewStyle(CircularProgressViewStyle(tint: .iCoAccent)) .scaleEffect(1.7) // 크기 살짝 키우기 .padding(16) - .background(.aiCoBackgroundAccent) + .background(.iCoBackgroundAccent) case .failure: Image(systemName: "xmark.octagon") .font(.system(size: 35)) - .foregroundStyle(.aiCoNeutral) + .foregroundStyle(.iCoNeutral) .padding(8) - .background(.aiCoBackgroundWhite) + .background(.iCoBackgroundWhite) case .cancel: Image(systemName: "exclamationmark.octagon") .font(.system(size: 35)) - .foregroundStyle(.aiCoNeutral) + .foregroundStyle(.iCoNeutral) .padding(8) - .background(.aiCoBackgroundWhite) + .background(.iCoBackgroundWhite) } } .clipShape(.circle) @@ -82,7 +82,7 @@ struct DefaultProgressView: View { Text(message) .font(.system(size: 14)) - .foregroundColor(.aiCoLabel) + .foregroundColor(.iCoLabel) .multilineTextAlignment(.center) .lineSpacing(4) .padding(.bottom, 10) diff --git a/AIProject/iCo/Features/Base/HeaderView.swift b/AIProject/iCo/Features/Base/HeaderView.swift index 36bf8ad2..75428e97 100644 --- a/AIProject/iCo/Features/Base/HeaderView.swift +++ b/AIProject/iCo/Features/Base/HeaderView.swift @@ -23,7 +23,7 @@ struct HeaderView: View { var showNewBadge = false - init(heading: String, headingColor: Color = .aiCoLabel, topPadding: CGFloat = 30, coinSymbol: String? = nil, showBackButton: Bool = false, onBackButtonTap: ( () -> Void)? = nil, showNewBadge: Bool = false) { + init(heading: String, headingColor: Color = .iCoLabel, topPadding: CGFloat = 30, coinSymbol: String? = nil, showBackButton: Bool = false, onBackButtonTap: ( () -> Void)? = nil, showNewBadge: Bool = false) { self.heading = heading self.headingColor = headingColor self.topPadding = topPadding @@ -73,7 +73,7 @@ struct HeaderView: View { HStack(alignment: .center, spacing: 4) { Text(heading) .font(.system(size: heading.count < 11 ? 21 : 18, weight: .black)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .lineLimit(2) if showNewBadge { @@ -81,13 +81,13 @@ struct HeaderView: View { .font(.system(size: 12, weight: .heavy)) .foregroundStyle(.white) .padding(4) - .background(Circle().foregroundStyle(.aiCoAccent)) + .background(Circle().foregroundStyle(.iCoAccent)) } } Text(coin) .font(.system(size: 14, weight: .bold)) - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) } } } else { @@ -130,7 +130,7 @@ private struct BackButton: View { .scaledToFit() .frame(width: 15, height: 24) .fontWeight(.regular) - .tint(.aiCoLabelSecondary.opacity(0.6)) + .tint(.iCoLabelSecondary.opacity(0.6)) } } } diff --git a/AIProject/iCo/Features/Base/ReportSectionView.swift b/AIProject/iCo/Features/Base/ReportSectionView.swift index eac7b363..38a43997 100644 --- a/AIProject/iCo/Features/Base/ReportSectionView.swift +++ b/AIProject/iCo/Features/Base/ReportSectionView.swift @@ -70,11 +70,11 @@ struct ReportSectionView: View { HStack { Image(systemName: data.icon) .font(.system(size: 14, weight: .bold)) - .foregroundStyle(.aiCoAccent) + .foregroundStyle(.iCoAccent) Text(data.title) .font(.system(size: 16, weight: .bold)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) Spacer() @@ -93,7 +93,7 @@ struct ReportSectionView: View { case .success(let value): content(value) .font(.system(size: 14)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .lineSpacing(6) .fixedSize(horizontal: false, vertical: true) .frame(maxHeight: .infinity, alignment: .top) @@ -116,7 +116,7 @@ struct ReportSectionView: View { } .padding(.horizontal, 22) .padding(.vertical, 20) - .background(.aiCoBackground) + .background(.iCoBackground) .clipShape(RoundedRectangle(cornerRadius: cornerRadius)) .overlay( RoundedRectangle(cornerRadius: cornerRadius) diff --git a/AIProject/iCo/Features/Base/RoundedButton.swift b/AIProject/iCo/Features/Base/RoundedButton.swift index 563bb144..b56d850f 100644 --- a/AIProject/iCo/Features/Base/RoundedButton.swift +++ b/AIProject/iCo/Features/Base/RoundedButton.swift @@ -24,13 +24,13 @@ struct RoundedButton: View { if let title { Text(title) .font(.system(size: 12, weight: .regular)) - .tint(foregroundColor ?? .aiCoLabel) + .tint(foregroundColor ?? .iCoLabel) } if let imageName { Image(systemName: imageName) .font(.system(size: 10)) - .tint(foregroundColor ?? .aiCoLabel) + .tint(foregroundColor ?? .iCoLabel) } } @@ -39,7 +39,7 @@ struct RoundedButton: View { .frame(width: title != nil ? nil : 24, height: title != nil ? nil : 24) .background( Capsule() - .fill(.aiCoBackgroundWhite) + .fill(.iCoBackgroundWhite) ) .overlay { Capsule() @@ -57,5 +57,5 @@ struct RoundedButton: View { RoundedButton(title: nil, imageName: "xmark", action: { }) } .padding() - .background(.aiCoBackground) + .background(.iCoBackground) } diff --git a/AIProject/iCo/Features/Base/RoundedRectangleButton.swift b/AIProject/iCo/Features/Base/RoundedRectangleButton.swift index 4719bd21..96ad83ec 100644 --- a/AIProject/iCo/Features/Base/RoundedRectangleButton.swift +++ b/AIProject/iCo/Features/Base/RoundedRectangleButton.swift @@ -32,18 +32,18 @@ struct RoundedRectangleButton: View { .resizable() .scaledToFit() .frame(height: 16) - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) .fontWeight(.light) .offset(y: -1) } Text(title) .font(.system(size: 14, weight: .semibold)) - .foregroundStyle(isActive ? .aiCoAccent : .aiCoLabel) + .foregroundStyle(isActive ? .iCoAccent : .iCoLabel) } .padding(.horizontal, 14) .padding(.vertical, 10) - .background(isActive ? .aiCoBackgroundAccent : .aiCoBackground) + .background(isActive ? .iCoBackgroundAccent : .iCoBackground) .clipShape(RoundedRectangle(cornerRadius: cornerRadius)) .overlay( RoundedRectangle(cornerRadius: cornerRadius) diff --git a/AIProject/iCo/Features/Base/RoundedRectangleFillButton.swift b/AIProject/iCo/Features/Base/RoundedRectangleFillButton.swift index 21d85f37..ca6fbc51 100644 --- a/AIProject/iCo/Features/Base/RoundedRectangleFillButton.swift +++ b/AIProject/iCo/Features/Base/RoundedRectangleFillButton.swift @@ -47,7 +47,7 @@ struct RoundedRectangleFillButtonView: View { .resizable() .scaledToFit() .frame(height: 16) - .tint(!isHighlighted ? .aiCoLabelSecondary : .aiCoAccent) + .tint(!isHighlighted ? .iCoLabelSecondary : .iCoAccent) .fontWeight(!isHighlighted ? .light : .regular) .offset(y: -1) // 아이콘 위치 조정하기 } @@ -55,12 +55,12 @@ struct RoundedRectangleFillButtonView: View { Text(title) .frame(height: 36) .font(.system(size: 14, weight: !isHighlighted ? .regular : .medium)) - .tint(!isHighlighted ? .aiCoLabel : .aiCoAccent) + .tint(!isHighlighted ? .iCoLabel : .iCoAccent) } .padding(.horizontal, 14) .padding(.vertical, 10) .frame(maxWidth: .infinity) - .background(!isHighlighted ? .aiCoBackground : .aiCoBackgroundAccent) + .background(!isHighlighted ? .iCoBackground : .iCoBackgroundAccent) .clipShape(RoundedRectangle(cornerRadius: cornerRadius)) .overlay( RoundedRectangle(cornerRadius: cornerRadius) diff --git a/AIProject/iCo/Features/Base/SegmentedControlView.swift b/AIProject/iCo/Features/Base/SegmentedControlView.swift index 1014ce22..06c36873 100644 --- a/AIProject/iCo/Features/Base/SegmentedControlView.swift +++ b/AIProject/iCo/Features/Base/SegmentedControlView.swift @@ -40,12 +40,12 @@ struct SegmentedControlView: View { .frame(maxWidth: .infinity) .padding(.horizontal, 14) .padding(.vertical, 8) - .foregroundColor(selection == idx ? .aiCoBackgroundWhite : .aiCoLabelSecondary) + .foregroundColor(selection == idx ? .iCoBackgroundWhite : .iCoLabelSecondary) .background( ZStack { if selection == idx { Capsule() - .fill(.aiCoAccent) + .fill(.iCoAccent) .matchedGeometryEffect(id: "underline", in: underlineAnimation) } } @@ -54,7 +54,7 @@ struct SegmentedControlView: View { } } .padding(8) - .background(.aiCoBackgroundAccent) + .background(.iCoBackgroundAccent) .frame(width: width) .clipShape(Capsule()) .overlay { Capsule().strokeBorder(.defaultGradient, lineWidth: 0.5) } diff --git a/AIProject/iCo/Features/Base/SortToggleButton.swift b/AIProject/iCo/Features/Base/SortToggleButton.swift index 5bbf8e2f..4360eaca 100644 --- a/AIProject/iCo/Features/Base/SortToggleButton.swift +++ b/AIProject/iCo/Features/Base/SortToggleButton.swift @@ -49,7 +49,7 @@ struct SortToggleButton: View { HStack { Text(title) .font(.system(size: 11)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) RoundedButton(imageName: sortOrder.iconName) { if currentCategory == sortCategory { sortOrder.toggle() diff --git a/AIProject/iCo/Features/Base/SubheaderView.swift b/AIProject/iCo/Features/Base/SubheaderView.swift index 3ace0817..3476829d 100644 --- a/AIProject/iCo/Features/Base/SubheaderView.swift +++ b/AIProject/iCo/Features/Base/SubheaderView.swift @@ -13,14 +13,14 @@ import SwiftUI /// - imageName: 표시할 SF Symbol 아이콘 이름 (선택 사항) /// - subheading: 서브헤더에 표시할 필수 제목 /// - description: 제목 아래에 표시할 설명 (선택 사항) -/// - imageColor: 아이콘 색상 (기본값: `.aiCoAccent`) -/// - fontColor: 제목 및 설명 텍스트 색상 (기본값: `.aiCoLabel`) +/// - imageColor: 아이콘 색상 (기본값: `.iCoAccent`) +/// - fontColor: 제목 및 설명 텍스트 색상 (기본값: `.iCoLabel`) struct SubheaderView: View { var imageName: String? let subheading: String var description: String? - var imageColor: Color = .aiCoAccent - var fontColor: Color = .aiCoLabel + var imageColor: Color = .iCoAccent + var fontColor: Color = .iCoLabel var body: some View { VStack(alignment: .leading, spacing: 8) { @@ -50,7 +50,7 @@ struct SubheaderView: View { #Preview { SubheaderView(imageName: "sparkles", subheading: "이런 코인은 어떠세요?", description: "회원님의 관심 코인을 기반으로 새로운 코인을 추천해드려요", imageColor: .white, fontColor: .white) .padding(.vertical, 16) - .background(.aiCoGradientAccentProminent) + .background(.iCoGradientAccentProminent) SubheaderView(subheading: "차트 색상 변경") .padding(.vertical, 16) diff --git a/AIProject/iCo/Features/Base/TimestampWithRefreshButtonView.swift b/AIProject/iCo/Features/Base/TimestampWithRefreshButtonView.swift index f9bbd0a4..111d06ae 100644 --- a/AIProject/iCo/Features/Base/TimestampWithRefreshButtonView.swift +++ b/AIProject/iCo/Features/Base/TimestampWithRefreshButtonView.swift @@ -25,7 +25,7 @@ struct TimestampWithRefreshButtonView: View { Text("\(formattedTime) 기준") .font(.system(size: 11)) - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) .contentTransition(.numericText(countsDown: true)) RoundedButton(imageName: "arrow.counterclockwise", action: action) diff --git a/AIProject/iCo/Features/ChatBot/View/BotMessageView.swift b/AIProject/iCo/Features/ChatBot/View/BotMessageView.swift index 9be299b9..5458ea09 100644 --- a/AIProject/iCo/Features/ChatBot/View/BotMessageView.swift +++ b/AIProject/iCo/Features/ChatBot/View/BotMessageView.swift @@ -23,7 +23,7 @@ struct BotMessageView: View { .resizable() .scaledToFit() .frame(width: 34) - .foregroundColor(colorScheme == .light ? .aiCoAccent : .aiCoLabel) + .foregroundColor(colorScheme == .light ? .iCoAccent : .iCoLabel) .opacity(0.8) .padding(12) .overlay { @@ -32,7 +32,7 @@ struct BotMessageView: View { } .background { Circle() - .fill(.aiCoBackgroundBlue) + .fill(.iCoBackgroundBlue) } Spacer() } @@ -47,14 +47,14 @@ struct BotMessageView: View { Text(message.content) } } - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .font(.system(size: 14)) .lineSpacing(6) .padding(.vertical, 15) .padding(.horizontal, 18) .background { UnevenRoundedRectangle(bottomLeadingRadius: 16, bottomTrailingRadius: 16, topTrailingRadius: 16) - .fill(.aiCoBackgroundBlue) + .fill(.iCoBackgroundBlue) } .overlay { UnevenRoundedRectangle(bottomLeadingRadius: 16, bottomTrailingRadius: 16, topTrailingRadius: 16) diff --git a/AIProject/iCo/Features/ChatBot/View/ChatBotFAQView.swift b/AIProject/iCo/Features/ChatBot/View/ChatBotFAQView.swift index 68fb0cbe..08b142ae 100644 --- a/AIProject/iCo/Features/ChatBot/View/ChatBotFAQView.swift +++ b/AIProject/iCo/Features/ChatBot/View/ChatBotFAQView.swift @@ -21,7 +21,7 @@ struct ChatBotFAQView: View { .resizable() .scaledToFit() .frame(width: 34) - .foregroundColor(colorScheme == .light ? .aiCoAccent : .aiCoLabel) + .foregroundColor(colorScheme == .light ? .iCoAccent : .iCoLabel) .opacity(0.8) .padding(12) .overlay { @@ -30,7 +30,7 @@ struct ChatBotFAQView: View { } .background { Circle() - .fill(.aiCoBackgroundBlue) + .fill(.iCoBackgroundBlue) } Spacer() } @@ -52,21 +52,21 @@ struct ChatBotFAQView: View { .frame(maxWidth: .infinity) .padding(.vertical, 10) .font(.system(size: 14)) - .background(.aiCoBackgroundAccent) + .background(.iCoBackgroundAccent) .clipShape(RoundedRectangle(cornerRadius: 15)) .overlay(RoundedRectangle(cornerRadius: 15).strokeBorder(.accentGradient, lineWidth: 0.5)) .disabled(viewModel.isStreaming) } } } - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .font(.system(size: 14)) .lineSpacing(6) .padding(.vertical, 15) .padding(.horizontal, 18) .background { UnevenRoundedRectangle(bottomLeadingRadius: 16, bottomTrailingRadius: 16, topTrailingRadius: 16) - .fill(.aiCoBackgroundBlue) + .fill(.iCoBackgroundBlue) } .overlay { UnevenRoundedRectangle(bottomLeadingRadius: 16, bottomTrailingRadius: 16, topTrailingRadius: 16) diff --git a/AIProject/iCo/Features/ChatBot/View/ChatBotView.swift b/AIProject/iCo/Features/ChatBot/View/ChatBotView.swift index e0e8d324..3b4af58d 100644 --- a/AIProject/iCo/Features/ChatBot/View/ChatBotView.swift +++ b/AIProject/iCo/Features/ChatBot/View/ChatBotView.swift @@ -49,7 +49,7 @@ struct ChatBotView: View { .frame(maxWidth: isPortrait && isPad ? proxy.size.width * 0.6 : .infinity) .padding(.horizontal, isPortrait && isPad ? 0 : 16) } - .background(.aiCoBackground.opacity(colorScheme == .light ? 1 : 0.5)) + .background(.iCoBackground.opacity(colorScheme == .light ? 1 : 0.5)) } .frame(maxWidth: .infinity) .background( diff --git a/AIProject/iCo/Features/ChatBot/View/ChatInputView.swift b/AIProject/iCo/Features/ChatBot/View/ChatInputView.swift index 33888fd2..96797adb 100644 --- a/AIProject/iCo/Features/ChatBot/View/ChatInputView.swift +++ b/AIProject/iCo/Features/ChatBot/View/ChatInputView.swift @@ -18,20 +18,20 @@ struct ChatInputView: View { TextField("무엇이든 물어보세요.", text: $viewModel.searchText, axis: .vertical) .lineLimit(1...3) .font(.system(size: 14)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .focused($isFocused) Button { Task { await viewModel.sendMessage(message: viewModel.searchText) } } label: { Image(systemName: viewModel.isStreaming ? "square.fill" : "arrow.up") - .foregroundStyle(viewModel.isEditable && !viewModel.isStreaming ? .aiCoAccent : .aiCoNeutral) + .foregroundStyle(viewModel.isEditable && !viewModel.isStreaming ? .iCoAccent : .iCoNeutral) .padding(10) } .frame(width: 30, height: 30) .background { Circle() - .fill(viewModel.isEditable && !viewModel.isStreaming ? .aiCoBackgroundAccent : .aiCoBackgroundWhite) + .fill(viewModel.isEditable && !viewModel.isStreaming ? .iCoBackgroundAccent : .iCoBackgroundWhite) } .onChange(of: viewModel.isTapped) { isFocused = false @@ -50,7 +50,7 @@ struct ChatInputView: View { .padding(.vertical, 10) .background( RoundedRectangle(cornerRadius: 30) - .fill(.aiCoBackgroundWhite) + .fill(.iCoBackgroundWhite) ) .overlay { RoundedRectangle(cornerRadius: 30) diff --git a/AIProject/iCo/Features/ChatBot/View/UserMessageView.swift b/AIProject/iCo/Features/ChatBot/View/UserMessageView.swift index 00c81978..9674aedf 100644 --- a/AIProject/iCo/Features/ChatBot/View/UserMessageView.swift +++ b/AIProject/iCo/Features/ChatBot/View/UserMessageView.swift @@ -17,12 +17,12 @@ struct UserMessageView: View { Text(content) .font(.system(size: 14)) .lineSpacing(6) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .padding(.vertical, 15) .padding(.horizontal, 18) .background { UnevenRoundedRectangle(topLeadingRadius: 16, bottomLeadingRadius: 16, bottomTrailingRadius: 16) - .fill(Color.aiCoBackgroundWhite) + .fill(Color.iCoBackgroundWhite) } .overlay { UnevenRoundedRectangle(topLeadingRadius: 16, bottomLeadingRadius: 16, bottomTrailingRadius: 16) diff --git a/AIProject/iCo/Features/CoinDetail/View/ChartView.swift b/AIProject/iCo/Features/CoinDetail/View/ChartView.swift index 24be4970..84277e58 100644 --- a/AIProject/iCo/Features/CoinDetail/View/ChartView.swift +++ b/AIProject/iCo/Features/CoinDetail/View/ChartView.swift @@ -66,7 +66,7 @@ struct ChartView: View { .padding(20) .background( RoundedRectangle(cornerRadius: 16, style: .continuous) - .fill(Color.aiCoBackground) + .fill(Color.iCoBackground) ) .overlay( RoundedRectangle(cornerRadius: 16, style: .continuous) @@ -112,12 +112,12 @@ struct ChartView: View { VStack(alignment: .leading, spacing: 8) { Text(lastUpdatedText) .font(.system(size: 10, weight: .regular)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .lineLimit(1) Text(viewModel.displayLastPrice.formatKRW) .font(.system(size: 20, weight: .bold)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .lineLimit(1) Text("\(sign)\(absChange.formatKRW) (\(arrow)\(abs(viewModel.displayChangeRate).formatRate))") @@ -127,7 +127,7 @@ struct ChartView: View { Text("거래대금 \(viewModel.headerAccTradePrice.formatMillion)") .font(.system(size: 12, weight: .medium)) - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) .lineLimit(1) } diff --git a/AIProject/iCo/Features/CoinDetail/View/ReportNewsSectionView.swift b/AIProject/iCo/Features/CoinDetail/View/ReportNewsSectionView.swift index 3f58f972..dcda47f0 100644 --- a/AIProject/iCo/Features/CoinDetail/View/ReportNewsSectionView.swift +++ b/AIProject/iCo/Features/CoinDetail/View/ReportNewsSectionView.swift @@ -30,14 +30,14 @@ struct ReportNewsSectionView: View { VStack(alignment: .leading, spacing: 0) { Text(title) .font(.system(size: 13, weight: .bold)) - .foregroundStyle(.aiCoAccent) + .foregroundStyle(.iCoAccent) ForEach(displayedArticles, id: \.id) { article in VStack(alignment: .leading, spacing: 8) { HStack { Text(article.title.byCharWrapping) .font(.system(size: 15, weight: .bold)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .lineLimit(1) Spacer() @@ -51,7 +51,7 @@ struct ReportNewsSectionView: View { Text(article.summary.byCharWrapping) .font(.system(size: 14)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .lineSpacing(6) .fixedSize(horizontal: false, vertical: true) } @@ -60,7 +60,7 @@ struct ReportNewsSectionView: View { .overlay(alignment: .bottom) { Rectangle() .frame(height: 1) - .foregroundStyle(.aiCoBorderGray) + .foregroundStyle(.iCoBorderGray) .padding(.leading, 0) } } @@ -71,7 +71,7 @@ struct ReportNewsSectionView: View { .padding(.horizontal, 22) .padding(.top, 20) .padding(.bottom, 20) - .background(.aiCoBackgroundBlue) + .background(.iCoBackgroundBlue) .clipShape(RoundedRectangle(cornerRadius: Self.cornerRadius)) .overlay( RoundedRectangle(cornerRadius: Self.cornerRadius) diff --git a/AIProject/iCo/Features/CoinDetail/View/ReportView.swift b/AIProject/iCo/Features/CoinDetail/View/ReportView.swift index 1b2cbb89..6193bc7d 100644 --- a/AIProject/iCo/Features/CoinDetail/View/ReportView.swift +++ b/AIProject/iCo/Features/CoinDetail/View/ReportView.swift @@ -19,12 +19,12 @@ struct ReportView: View { if hSizeClass == .regular { Text("AI 리포트") .font(.system(size: 18, weight: .bold)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) } Text(String.aiGeneratedContentNotice) .font(.system(size: 11)) - .foregroundStyle(.aiCoNeutral) + .foregroundStyle(.iCoNeutral) .lineSpacing(5) ForEach(viewModel.sectionDataSource) { data in diff --git a/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift b/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift index 81dc8aa3..3dbb824a 100644 --- a/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift +++ b/AIProject/iCo/Features/Dashboard/View/AIBriefingView.swift @@ -32,7 +32,7 @@ struct AIBriefingView: View { VStack(alignment: .leading, spacing: 20) { Text(String.aiGeneratedContentNotice) .font(.system(size: 11)) - .foregroundStyle(.aiCoNeutral) + .foregroundStyle(.iCoNeutral) .lineSpacing(5) VStack(spacing: 16) { diff --git a/AIProject/iCo/Features/Dashboard/View/DashboardView.swift b/AIProject/iCo/Features/Dashboard/View/DashboardView.swift index 190b8301..ee4d41ef 100644 --- a/AIProject/iCo/Features/Dashboard/View/DashboardView.swift +++ b/AIProject/iCo/Features/Dashboard/View/DashboardView.swift @@ -57,7 +57,7 @@ struct DashboardView: View { .background(alignment: .top) { // 메인 그레디언트 배경 LinearGradient( - colors: [.aiCoBackgroundGradientLight, .aiCoBackgroundGradientProminent], + colors: [.iCoBackgroundGradientLight, .iCoBackgroundGradientProminent], startPoint: .topLeading, endPoint: .bottom ) @@ -89,7 +89,7 @@ struct DashboardView: View { let defaultHeight = 44.0 var body: some View { - Color.aiCoBackgroundWhite.opacity(0.5) // .ultraThinMaterial이 너무 어두워 하얀색 섞기 + Color.iCoBackgroundWhite.opacity(0.5) // .ultraThinMaterial이 너무 어두워 하얀색 섞기 .ignoresSafeArea() .containerRelativeFrame(.horizontal) .frame(height: defaultHeight) @@ -97,7 +97,7 @@ struct DashboardView: View { .overlay(alignment: .center) { Text("대시보드") .font(.system(size: 18, weight: .black)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .offset(y: -5) // 텍스트가 네비게이션바 중앙에 오도록 위치 조정하기 } .overlay(alignment: .bottom) { // 네비게이션바 하단에 구분선 추가하기 diff --git a/AIProject/iCo/Features/Dashboard/View/FearGreedView.swift b/AIProject/iCo/Features/Dashboard/View/FearGreedView.swift index 810588ac..f8fcda44 100644 --- a/AIProject/iCo/Features/Dashboard/View/FearGreedView.swift +++ b/AIProject/iCo/Features/Dashboard/View/FearGreedView.swift @@ -21,11 +21,11 @@ struct FearGreedView: View { VStack(alignment: .leading, spacing: 8) { Text("공포 & 탐욕 지수") .font(.system(size: 19, weight: .bold)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) Text("ⓘ Fear & Greed 지수는 투자 심리를 0~100 사이 수치로 나타낸 지표로, 0에 가까울수록 불안감으로 투자를 피하는 '공포', 100에 가까울수록 낙관적으로 적극 매수하는 '탐욕'을 의미합니다.".byCharWrapping) .font(.system(size: 11)) - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) .lineSpacing(3) .fixedSize(horizontal: false, vertical: true) } @@ -73,7 +73,7 @@ extension FearGreedView { ZStack { Circle() .trim(from: 0.0, to: Self.gaugeTrim) - .stroke(Color.aiCoBackground, style: StrokeStyle(lineWidth: Self.lineWidth, lineCap: .round)) + .stroke(Color.iCoBackground, style: StrokeStyle(lineWidth: Self.lineWidth, lineCap: .round)) .rotationEffect(.degrees(Self.rotationDegrees)) Circle() @@ -84,7 +84,7 @@ extension FearGreedView { VStack(spacing: size.height * 0.15) { Text("\(Int(viewModel.indexValue))") .font(.system(size: size.width * 0.3, weight: .bold)) - .foregroundColor(.aiCoLabel) + .foregroundColor(.iCoLabel) .minimumScaleFactor(0.5) Text(viewModel.classification) diff --git a/AIProject/iCo/Features/Dashboard/View/RecomendationPlaceholderCardView.swift b/AIProject/iCo/Features/Dashboard/View/RecomendationPlaceholderCardView.swift index 7c5856a7..c9598c44 100644 --- a/AIProject/iCo/Features/Dashboard/View/RecomendationPlaceholderCardView.swift +++ b/AIProject/iCo/Features/Dashboard/View/RecomendationPlaceholderCardView.swift @@ -59,7 +59,7 @@ struct RecomendationPlaceholderCardView: View { private struct Card: View { var body: some View { - Color.aiCoBackgroundWhite.opacity(0.9) + Color.iCoBackgroundWhite.opacity(0.9) .background(.ultraThinMaterial) .clipShape(RoundedRectangle(cornerRadius: 24)) .overlay { diff --git a/AIProject/iCo/Features/Dashboard/View/RecommendCardView.swift b/AIProject/iCo/Features/Dashboard/View/RecommendCardView.swift index 6c523353..4af30fd2 100644 --- a/AIProject/iCo/Features/Dashboard/View/RecommendCardView.swift +++ b/AIProject/iCo/Features/Dashboard/View/RecommendCardView.swift @@ -32,19 +32,19 @@ struct RecommendCardView: View { Text(recommendCoin.name) .font(.system(size: 17)) .bold() - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) Text(recommendCoin.id) .font(.system(size: 12)) .fontWeight(.semibold) - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) } .padding(.top, 4) HStack(spacing: 4) { Text("현재가") .font(.system(size: 14)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) Text(recommendCoin.tradePrice.formatKRW) .font(.system(size: 14)) @@ -56,7 +56,7 @@ struct RecommendCardView: View { HStack(spacing: 4) { Text("전일대비") .font(.system(size: 14)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) HStack(spacing: 0) { Group { @@ -75,7 +75,7 @@ struct RecommendCardView: View { Text(recommendCoin.comment.byCharWrapping) .font(.system(size: 14)) .lineSpacing(6) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) } .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .top) .padding(.top, 32) @@ -84,7 +84,7 @@ struct RecommendCardView: View { .background( ZStack { Rectangle().fill(.ultraThinMaterial) - Color.aiCoBackgroundWhite.opacity(0.9) + Color.iCoBackgroundWhite.opacity(0.9) } ) .clipShape(RoundedRectangle(cornerRadius: 24)) diff --git a/AIProject/iCo/Features/Market/CoinList/CoinListView.swift b/AIProject/iCo/Features/Market/CoinList/CoinListView.swift index 4102cf6e..bb712c39 100644 --- a/AIProject/iCo/Features/Market/CoinList/CoinListView.swift +++ b/AIProject/iCo/Features/Market/CoinList/CoinListView.swift @@ -43,7 +43,7 @@ struct CoinListView: View { } .background { RoundedRectangle(cornerRadius: 16, style: .continuous) - .fill(.aiCoBackground) + .fill(.iCoBackground) } .clipShape(.rect(cornerRadius: 16)) .onChange(of: scenePhase, { _, newValue in @@ -91,7 +91,7 @@ struct CoinListView: View { CoinCell(coin: meta, store: ticker, searchTerm: searchText) .listRowSeparator(.hidden) .listRowInsets(.init(top: 0, leading: 0, bottom: 0, trailing: 0)) - .listRowBackground(selectedCoinID == id && isIpad ? Color.aiCoBackgroundAccent : Color.clear) + .listRowBackground(selectedCoinID == id && isIpad ? Color.iCoBackgroundAccent : Color.clear) .overlay( LinearGradient.defaultGradient.frame(height: 0.5), alignment: .bottom diff --git a/AIProject/iCo/Features/Market/SubView/BlinkUnderlineOnChange.swift b/AIProject/iCo/Features/Market/SubView/BlinkUnderlineOnChange.swift index 27d7eddb..4796fa09 100644 --- a/AIProject/iCo/Features/Market/SubView/BlinkUnderlineOnChange.swift +++ b/AIProject/iCo/Features/Market/SubView/BlinkUnderlineOnChange.swift @@ -11,7 +11,7 @@ import SwiftUI struct BlinkUnderlineOnChange: ViewModifier { let trigger: Value var duration: Duration = .seconds(2) - var color: Color = .aiCoLabel + var color: Color = .iCoLabel var lineWidth: CGFloat = 2 @State private var animating = false @@ -58,7 +58,7 @@ extension View { func blinkUnderlineOnChange( _ trigger: Value, duration: Duration = .seconds(1), - color: Color = .aiCoLabel + color: Color = .iCoLabel ) -> some View { modifier( BlinkUnderlineOnChange( diff --git a/AIProject/iCo/Features/Market/SubView/CoinCell.swift b/AIProject/iCo/Features/Market/SubView/CoinCell.swift index 7c2197d9..c31412b6 100644 --- a/AIProject/iCo/Features/Market/SubView/CoinCell.swift +++ b/AIProject/iCo/Features/Market/SubView/CoinCell.swift @@ -55,7 +55,7 @@ fileprivate struct CoinMetaView: View { } .font(.system(size: 12)) .fontWeight(.medium) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) } } @@ -79,7 +79,7 @@ fileprivate struct CoinPriceView: View { private var changeColor: Color { switch ticker.snapshot.change { case .rise: return themeManager.selectedTheme.positiveColor - case .even: return .aiCoLabel + case .even: return .iCoLabel case .fall: return themeManager.selectedTheme.negativeColor } } @@ -106,7 +106,7 @@ fileprivate struct CoinPriceView: View { } .font(.system(size: 12)) .fontWeight(.medium) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) .background { VStack { ZStack { diff --git a/AIProject/iCo/Features/Market/SubView/HeaderToggleButton.swift b/AIProject/iCo/Features/Market/SubView/HeaderToggleButton.swift index c290520a..f2c733f7 100644 --- a/AIProject/iCo/Features/Market/SubView/HeaderToggleButton.swift +++ b/AIProject/iCo/Features/Market/SubView/HeaderToggleButton.swift @@ -22,12 +22,12 @@ struct HeaderToggleButton: View { HStack { Text(title) .font(.system(size: 11)) - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) HStack(spacing: 4) { Image(systemName: sortOrder.iconName) .font(.system(size: 12, weight: .regular)) - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) .animation(nil, value: sortOrder) } .padding(.horizontal, 5) diff --git a/AIProject/iCo/Features/Market/SubView/HighlightedText.swift b/AIProject/iCo/Features/Market/SubView/HighlightedText.swift index aade2a02..dc39b50e 100644 --- a/AIProject/iCo/Features/Market/SubView/HighlightedText.swift +++ b/AIProject/iCo/Features/Market/SubView/HighlightedText.swift @@ -31,7 +31,7 @@ struct HighlightedText: View { while let range = lowercasedText.range(of: lowercasedSearch, range: searchRange) { let nsRange = NSRange(range, in: text) if let attributedRange = Range(nsRange, in: attributed) { - attributed[attributedRange].foregroundColor = .aiCoAccent + attributed[attributedRange].foregroundColor = .iCoAccent } // 다음 검색 시작 위치 이동 diff --git a/AIProject/iCo/Features/Market/SubView/RecentCoinSectionView.swift b/AIProject/iCo/Features/Market/SubView/RecentCoinSectionView.swift index 6bfe4aea..64d95589 100644 --- a/AIProject/iCo/Features/Market/SubView/RecentCoinSectionView.swift +++ b/AIProject/iCo/Features/Market/SubView/RecentCoinSectionView.swift @@ -26,7 +26,7 @@ struct RecentCoinSectionView: View { Image(systemName: "xmark") .resizable() .frame(width: 10, height: 10) - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) } } .padding(.vertical, 8) diff --git a/AIProject/iCo/Features/MyPage/View/Bookmark/BookmarkView.swift b/AIProject/iCo/Features/MyPage/View/Bookmark/BookmarkView.swift index 329ba53c..fb91317c 100644 --- a/AIProject/iCo/Features/MyPage/View/Bookmark/BookmarkView.swift +++ b/AIProject/iCo/Features/MyPage/View/Bookmark/BookmarkView.swift @@ -122,10 +122,10 @@ struct BookmarkView: View { } .padding(20) .frame(maxWidth: .infinity, alignment: .leading) - .foregroundColor(.aiCoLabel) + .foregroundColor(.iCoLabel) .background( RoundedRectangle(cornerRadius: 20) - .fill(Color.aiCoBackgroundAccent) + .fill(Color.iCoBackgroundAccent) .overlay(RoundedRectangle(cornerRadius: 20) .strokeBorder(.accentGradient, lineWidth: 0.5)) ) @@ -134,7 +134,7 @@ struct BookmarkView: View { Text(String.aiGeneratedContentNotice) .font(.system(size: 11)) - .foregroundColor(.aiCoNeutral) + .foregroundColor(.iCoNeutral) .lineSpacing(5) .frame(maxWidth: .infinity, alignment: .leading) .padding(.top, 10) diff --git a/AIProject/iCo/Features/MyPage/View/Bookmark/BriefingSectionView.swift b/AIProject/iCo/Features/MyPage/View/Bookmark/BriefingSectionView.swift index 668dba96..e3e0b79f 100644 --- a/AIProject/iCo/Features/MyPage/View/Bookmark/BriefingSectionView.swift +++ b/AIProject/iCo/Features/MyPage/View/Bookmark/BriefingSectionView.swift @@ -15,7 +15,7 @@ struct BriefingSectionView: View { Text("분석 결과") .font(.system(size: 14)) .fontWeight(.semibold) - .foregroundColor(Color(.aiCoAccent)) + .foregroundColor(Color(.iCoAccent)) briefing.briefing .byCharWrapping @@ -29,7 +29,7 @@ struct BriefingSectionView: View { Text("전략 제안") .font(.system(size: 14)) .fontWeight(.semibold) - .foregroundColor(Color(.aiCoAccent)) + .foregroundColor(Color(.iCoAccent)) briefing.strategy .byCharWrapping diff --git a/AIProject/iCo/Features/MyPage/View/Bookmark/ExportView.swift b/AIProject/iCo/Features/MyPage/View/Bookmark/ExportView.swift index fdd7570b..d56b0d72 100644 --- a/AIProject/iCo/Features/MyPage/View/Bookmark/ExportView.swift +++ b/AIProject/iCo/Features/MyPage/View/Bookmark/ExportView.swift @@ -42,7 +42,7 @@ struct ExportReportView: View { .padding(16) .background( RoundedRectangle(cornerRadius: 20) - .fill(Color.aiCoBackgroundAccent) + .fill(Color.iCoBackgroundAccent) .overlay(RoundedRectangle(cornerRadius: 20) .strokeBorder(.accentGradient, lineWidth: 0.5)) ) diff --git a/AIProject/iCo/Features/MyPage/View/BookmarkBulkInsert/ContentSection.swift b/AIProject/iCo/Features/MyPage/View/BookmarkBulkInsert/ContentSection.swift index c57f8a04..efe63f9d 100644 --- a/AIProject/iCo/Features/MyPage/View/BookmarkBulkInsert/ContentSection.swift +++ b/AIProject/iCo/Features/MyPage/View/BookmarkBulkInsert/ContentSection.swift @@ -34,7 +34,7 @@ struct ContentSection: View { DefaultProgressView(status: .loading, message: "아이코가 이미지를 분석하고 있어요") { vm.cancelTask() } - .background(.aiCoBackgroundWhite) + .background(.iCoBackgroundWhite) } } } @@ -47,7 +47,7 @@ struct ContentSection: View { VStack(spacing: 10) { Text("ⓘ 코인 이름을 제외한 모든 정보는 기기 내에서 안전하게 처리됩니다") .font(.footnote) - .foregroundStyle(.aiCoAccent) + .foregroundStyle(.iCoAccent) .multilineTextAlignment(.center) PhotosPicker( diff --git a/AIProject/iCo/Features/MyPage/View/BookmarkBulkInsert/HeaderSection.swift b/AIProject/iCo/Features/MyPage/View/BookmarkBulkInsert/HeaderSection.swift index a801a315..056f0390 100644 --- a/AIProject/iCo/Features/MyPage/View/BookmarkBulkInsert/HeaderSection.swift +++ b/AIProject/iCo/Features/MyPage/View/BookmarkBulkInsert/HeaderSection.swift @@ -17,7 +17,7 @@ struct HeaderSection: View { .frame(maxWidth: .infinity, alignment: .leading) Text("아이코가 자동으로 북마크를 등록해드려요") - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) .font(.system(size: 15)) .frame(maxWidth: .infinity, alignment: .leading) } diff --git a/AIProject/iCo/Features/MyPage/View/CoinListSectionView.swift b/AIProject/iCo/Features/MyPage/View/CoinListSectionView.swift index a1522a7d..110d58b2 100644 --- a/AIProject/iCo/Features/MyPage/View/CoinListSectionView.swift +++ b/AIProject/iCo/Features/MyPage/View/CoinListSectionView.swift @@ -39,7 +39,7 @@ struct CoinListSectionView: View { .padding(.horizontal, 16) .fontWeight(.regular) .font(.system(size: 12)) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) ForEach(sortedCoins, id: \.coinID) { coin in if let meta = coinStore.coins[coin.coinID] { @@ -66,10 +66,10 @@ struct CoinListSectionView: View { } .padding(.top, 16) .padding(.bottom, 16) - .background(.aiCoBackground.opacity(0.7)) + .background(.iCoBackground.opacity(0.7)) .background( RoundedRectangle(cornerRadius: 12) - .fill(Color.aiCoBackground) + .fill(Color.iCoBackground) .overlay( RoundedRectangle(cornerRadius: 12) .strokeBorder(.defaultGradient, lineWidth: 0.5) diff --git a/AIProject/iCo/Features/MyPage/View/Main/MyPageMenuRow.swift b/AIProject/iCo/Features/MyPage/View/Main/MyPageMenuRow.swift index 5809031f..852aaf1b 100644 --- a/AIProject/iCo/Features/MyPage/View/Main/MyPageMenuRow.swift +++ b/AIProject/iCo/Features/MyPage/View/Main/MyPageMenuRow.swift @@ -16,12 +16,12 @@ struct MyPageMenuRow: View { CircleIconView(imageName: imageName) Text(title) - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) Spacer() Image(systemName: "chevron.right") - .foregroundStyle(.aiCoLabelSecondary) + .foregroundStyle(.iCoLabelSecondary) } } } diff --git a/AIProject/iCo/Features/MyPage/View/Main/MyPageView.swift b/AIProject/iCo/Features/MyPage/View/Main/MyPageView.swift index 35718258..89d9daea 100644 --- a/AIProject/iCo/Features/MyPage/View/Main/MyPageView.swift +++ b/AIProject/iCo/Features/MyPage/View/Main/MyPageView.swift @@ -79,7 +79,7 @@ struct MyPageView: View { .padding(20) .background( RoundedRectangle(cornerRadius: 20) - .fill(.aiCoBackground) + .fill(.iCoBackground) .strokeBorder(.defaultGradient, lineWidth: 0.5) ) .listRowSeparator(.hidden) @@ -112,7 +112,7 @@ struct MyPageView: View { .padding(20) .background( RoundedRectangle(cornerRadius: 20) - .fill(.aiCoBackground) + .fill(.iCoBackground) .strokeBorder(.defaultGradient, lineWidth: 0.5) ) .listRowSeparator(.hidden) diff --git a/AIProject/iCo/Features/MyPage/View/Theme/ThemePreviewChartView.swift b/AIProject/iCo/Features/MyPage/View/Theme/ThemePreviewChartView.swift index 11bd1a99..60b3171a 100644 --- a/AIProject/iCo/Features/MyPage/View/Theme/ThemePreviewChartView.swift +++ b/AIProject/iCo/Features/MyPage/View/Theme/ThemePreviewChartView.swift @@ -66,7 +66,7 @@ struct CandlestickPreviewView: View { .frame(height: 220) } .padding(16) - .background(RoundedRectangle(cornerRadius: 20).fill(.aiCoBackground)) + .background(RoundedRectangle(cornerRadius: 20).fill(.iCoBackground)) .overlay(RoundedRectangle(cornerRadius: 20).strokeBorder(.defaultGradient, lineWidth: 0.5)) .padding(.horizontal, 16) } diff --git a/AIProject/iCo/Features/MyPage/View/Theme/ThemeRow.swift b/AIProject/iCo/Features/MyPage/View/Theme/ThemeRow.swift index 30d5b35f..79019626 100644 --- a/AIProject/iCo/Features/MyPage/View/Theme/ThemeRow.swift +++ b/AIProject/iCo/Features/MyPage/View/Theme/ThemeRow.swift @@ -28,7 +28,7 @@ struct ThemeRow: View { Text(title) .frame(height: 36) .font(.system(size: 14, weight: !isSelected ? .regular : .medium)) - .foregroundStyle(!isSelected ? .aiCoLabel : .aiCoAccent) + .foregroundStyle(!isSelected ? .iCoLabel : .iCoAccent) Spacer() @@ -42,7 +42,7 @@ struct ThemeRow: View { .padding(.horizontal, 14) .padding(.vertical, 10) .frame(maxWidth: .infinity) - .background(!isSelected ? .aiCoBackground : .aiCoBackgroundAccent) + .background(!isSelected ? .iCoBackground : .iCoBackgroundAccent) .clipShape(RoundedRectangle(cornerRadius: cornerRadius)) .overlay( RoundedRectangle(cornerRadius: cornerRadius) diff --git a/AIProject/iCo/Features/MyPage/View/Theme/ThemeView.swift b/AIProject/iCo/Features/MyPage/View/Theme/ThemeView.swift index a7f05bec..584a7448 100644 --- a/AIProject/iCo/Features/MyPage/View/Theme/ThemeView.swift +++ b/AIProject/iCo/Features/MyPage/View/Theme/ThemeView.swift @@ -36,7 +36,7 @@ struct ThemeView: View { /// 미리보기 차트 섹션 VStack(alignment: .leading, spacing: 16) { - SubheaderView(imageName: "chart.xyaxis.line", subheading: "차트 색상 미리보기", imageColor: .aiCoLabelSecondary) + SubheaderView(imageName: "chart.xyaxis.line", subheading: "차트 색상 미리보기", imageColor: .iCoLabelSecondary) .padding(.bottom, 4) CandlestickPreviewView() diff --git a/AIProject/iCo/Features/Search/SearchBarView.swift b/AIProject/iCo/Features/Search/SearchBarView.swift index c0d96661..f24c1fe2 100644 --- a/AIProject/iCo/Features/Search/SearchBarView.swift +++ b/AIProject/iCo/Features/Search/SearchBarView.swift @@ -16,7 +16,7 @@ struct SearchBarView: View { HStack(spacing: 0) { HStack { Image(systemName: "magnifyingglass") - .foregroundStyle(.aiCoLabel) + .foregroundStyle(.iCoLabel) TextField("코인 이름으로 검색하세요", text: $searchText) .keyboardType(.webSearch) @@ -40,7 +40,7 @@ struct SearchBarView: View { .padding(.vertical, 14) .background { RoundedRectangle(cornerRadius: 15) - .fill(showCancel ? .aiCoBackgroundBlue : .aiCoBackground) + .fill(showCancel ? .iCoBackgroundBlue : .iCoBackground) } .overlay { RoundedRectangle(cornerRadius: 15) @@ -52,7 +52,7 @@ struct SearchBarView: View { searchText = "" } label: { Text("취소") - .foregroundStyle(.aiCoNegative) + .foregroundStyle(.iCoNegative) .font(.system(size: 13)) } .opacity(showCancel ? 1 : 0)