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
2 changes: 1 addition & 1 deletion AIProject/iCo/Features/ChatBot/View/BotMessageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct BotMessageView: View {
}
}
.foregroundStyle(.iCoLabel)
.font(.system(size: 14))
.font(.ico14)
.lineSpacing(6)
.padding(.vertical, 15)
.padding(.horizontal, 18)
Expand Down
6 changes: 3 additions & 3 deletions AIProject/iCo/Features/ChatBot/View/ChatBotFAQView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct ChatBotFAQView: View {
VStack(spacing: 15) {
HStack {
Text("안녕하세요, 아이코 챗봇입니다.\n궁금하신 내용을 선택해주세요.")
.font(.system(size: 15))
.font(.ico15)
Spacer()
}

Expand All @@ -51,7 +51,7 @@ struct ChatBotFAQView: View {
}
.frame(maxWidth: .infinity)
.padding(.vertical, 10)
.font(.system(size: 14))
.font(.ico14)
.background(.iCoBackgroundAccent)
.clipShape(RoundedRectangle(cornerRadius: 15))
.overlay(RoundedRectangle(cornerRadius: 15).strokeBorder(.accentGradient, lineWidth: 0.5))
Expand All @@ -60,7 +60,7 @@ struct ChatBotFAQView: View {
}
}
.foregroundStyle(.iCoLabel)
.font(.system(size: 14))
.font(.ico14)
.lineSpacing(6)
.padding(.vertical, 15)
.padding(.horizontal, 18)
Expand Down
4 changes: 3 additions & 1 deletion AIProject/iCo/Features/ChatBot/View/ChatInputView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ struct ChatInputView: View {
HStack {
TextField("무엇이든 물어보세요.", text: $viewModel.searchText, axis: .vertical)
.lineLimit(1...3)
.font(.system(size: 14))
.font(.ico14)
.foregroundStyle(.iCoLabel)
.focused($isFocused)

Button {
Task { await viewModel.sendMessage(message: viewModel.searchText) }
} label: {
Image(systemName: viewModel.isStreaming ? "square.fill" : "arrow.up")
.resizable()
.frame(width: 16, height: 16)
.foregroundStyle(viewModel.isEditable && !viewModel.isStreaming ? .iCoAccent : .iCoNeutral)
.padding(10)
}
Expand Down
2 changes: 1 addition & 1 deletion AIProject/iCo/Features/ChatBot/View/UserMessageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ struct UserMessageView: View {
HStack {
Spacer()
Text(content)
.font(.system(size: 14))
.font(.ico14)
.lineSpacing(6)
.foregroundStyle(.iCoLabel)
.padding(.vertical, 15)
Expand Down