Skip to content

Commit baf2542

Browse files
committed
Update chat panel titlebar style
1 parent 678601e commit baf2542

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

Core/Sources/SuggestionWidget/ChatWindowView.swift

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ struct ChatTitleBar: View {
6767
)
6868
.frame(width: 10, height: 10)
6969
.overlay {
70-
Circle().strokeBorder(.black.opacity(0.2), lineWidth: 1)
70+
Circle().strokeBorder(.black.opacity(0.3), lineWidth: 1)
7171
}
7272
.overlay {
7373
if isHovering {
7474
Image(systemName: "minus")
7575
.resizable()
76-
.foregroundStyle(.secondary)
76+
.foregroundStyle(.black.opacity(0.7))
7777
.font(Font.title.weight(.heavy))
7878
.frame(width: 5, height: 1)
7979
}
@@ -87,21 +87,22 @@ struct ChatTitleBar: View {
8787
Circle()
8888
.fill(
8989
controlActiveState == .key && viewStore.state
90-
? Color(nsColor: .systemIndigo)
90+
? Color(nsColor: .systemCyan)
9191
: Color(nsColor: .disabledControlTextColor)
9292
)
9393
.frame(width: 10, height: 10)
9494
.overlay {
95-
Circle().strokeBorder(.black.opacity(0.2), lineWidth: 1)
95+
Circle().strokeBorder(.black.opacity(0.3), lineWidth: 1)
9696
}
9797
.disabled(!viewStore.state)
9898
.overlay {
9999
if isHovering {
100100
Image(systemName: "pin")
101101
.resizable()
102-
.foregroundStyle(.secondary)
102+
.foregroundStyle(.black.opacity(0.7))
103103
.font(Font.title.weight(.heavy))
104-
.frame(width: 3, height: 5)
104+
.frame(width: 4, height: 6)
105+
.transformEffect(.init(translationX: 0, y: 0.5))
105106
}
106107
}
107108
}

0 commit comments

Comments
 (0)