Skip to content

Commit e5293a1

Browse files
committed
Use accent color instead of indigo
1 parent 97eb465 commit e5293a1

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

Core/Sources/HostApp/TabContainer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public struct TabContainer: View {
8383
.padding(8)
8484
.background({
8585
switch message.type {
86-
case .info: return Color(nsColor: .systemIndigo)
86+
case .info: return Color.accentColor
8787
case .error: return Color(nsColor: .systemRed)
8888
case .warning: return Color(nsColor: .systemOrange)
8989
}

Core/Sources/SuggestionWidget/SuggestionPanelContent/PromptToCodePanel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ extension PromptToCodePanel {
5252
) }
5353
) { viewStore in
5454
let isAttached = viewStore.state.isAttachedToSelectionRange
55-
let color: Color = isAttached ? .indigo : .secondary.opacity(0.6)
55+
let color: Color = isAttached ? .accentColor : .secondary.opacity(0.6)
5656
HStack(spacing: 4) {
5757
Image(
5858
systemName: isAttached ? "link" : "character.cursor.ibeam"
@@ -180,7 +180,7 @@ extension PromptToCodePanel {
180180
}) {
181181
Text("Accept(⌘ + ⏎)")
182182
}
183-
.buttonStyle(CommandButtonStyle(color: .indigo))
183+
.buttonStyle(CommandButtonStyle(color: .accentColor))
184184
.keyboardShortcut(KeyEquivalent.return, modifiers: [.command])
185185
}
186186
}

Core/Sources/SuggestionWidget/SuggestionPanelContent/ToastPanelView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct ToastPanelView: View {
3232
.frame(maxWidth: .infinity)
3333
.background({
3434
switch message.type {
35-
case .info: return Color(nsColor: .systemIndigo)
35+
case .info: return Color.accentColor
3636
case .error: return Color(nsColor: .systemRed)
3737
case .warning: return Color(nsColor: .systemOrange)
3838
}

Pro

Submodule Pro updated from 59d3620 to 861b86a

0 commit comments

Comments
 (0)