Skip to content

Commit 4e21130

Browse files
committed
feat: 다이나믹 폰트 적용
1 parent cf84f3f commit 4e21130

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

AIProject/iCo/Features/ChatBot/View/BotMessageView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct BotMessageView: View {
4848
}
4949
}
5050
.foregroundStyle(.iCoLabel)
51-
.font(.system(size: 14))
51+
.font(.ico14)
5252
.lineSpacing(6)
5353
.padding(.vertical, 15)
5454
.padding(.horizontal, 18)

AIProject/iCo/Features/ChatBot/View/ChatBotFAQView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct ChatBotFAQView: View {
3939
VStack(spacing: 15) {
4040
HStack {
4141
Text("안녕하세요, 아이코 챗봇입니다.\n궁금하신 내용을 선택해주세요.")
42-
.font(.system(size: 15))
42+
.font(.ico15)
4343
Spacer()
4444
}
4545

@@ -51,7 +51,7 @@ struct ChatBotFAQView: View {
5151
}
5252
.frame(maxWidth: .infinity)
5353
.padding(.vertical, 10)
54-
.font(.system(size: 14))
54+
.font(.ico14)
5555
.background(.iCoBackgroundAccent)
5656
.clipShape(RoundedRectangle(cornerRadius: 15))
5757
.overlay(RoundedRectangle(cornerRadius: 15).strokeBorder(.accentGradient, lineWidth: 0.5))
@@ -60,7 +60,7 @@ struct ChatBotFAQView: View {
6060
}
6161
}
6262
.foregroundStyle(.iCoLabel)
63-
.font(.system(size: 14))
63+
.font(.ico14)
6464
.lineSpacing(6)
6565
.padding(.vertical, 15)
6666
.padding(.horizontal, 18)

AIProject/iCo/Features/ChatBot/View/ChatInputView.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,16 @@ struct ChatInputView: View {
1717
HStack {
1818
TextField("무엇이든 물어보세요.", text: $viewModel.searchText, axis: .vertical)
1919
.lineLimit(1...3)
20-
.font(.system(size: 14))
20+
.font(.ico14)
2121
.foregroundStyle(.iCoLabel)
2222
.focused($isFocused)
2323

2424
Button {
2525
Task { await viewModel.sendMessage(message: viewModel.searchText) }
2626
} label: {
2727
Image(systemName: viewModel.isStreaming ? "square.fill" : "arrow.up")
28+
.resizable()
29+
.frame(width: 16, height: 16)
2830
.foregroundStyle(viewModel.isEditable && !viewModel.isStreaming ? .iCoAccent : .iCoNeutral)
2931
.padding(10)
3032
}

AIProject/iCo/Features/ChatBot/View/UserMessageView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ struct UserMessageView: View {
1515
HStack {
1616
Spacer()
1717
Text(content)
18-
.font(.system(size: 14))
18+
.font(.ico14)
1919
.lineSpacing(6)
2020
.foregroundStyle(.iCoLabel)
2121
.padding(.vertical, 15)

0 commit comments

Comments
 (0)