Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix: panel shell always black (matches notch), glassCard normal is pass-through

libokaie524e7bb6fe3
diff --git a/Codync-macOS/App/MenuBarController.swift b/Codync-macOS/App/MenuBarController.swift
index 523c8bfa..b0eafd0e 100644
--- a/Codync-macOS/App/MenuBarController.swift
+++ b/Codync-macOS/App/MenuBarController.swift
@@ -273,8 +273,8 @@ private struct CodyncPanelContentView: View {
HStack {
Spacer()
Image(systemName: "sparkle")
- .font(.system(size: 12, weight: .medium))
- .foregroundStyle(.white.opacity(0.6))
+ .font(.system(size: 16, weight: .medium))
+ .foregroundStyle(.white.opacity(0.9))
.padding(.trailing, 8)
}
}
@@ -303,7 +303,7 @@ private struct CodyncPanelContentView: View {
.frame(width: isExpanded ? 320 : headerSize.width - 12)
.padding(.horizontal, isExpanded ? 19 : 6)
.padding(.bottom, isExpanded ? 12 : 0)
- .background(isDarkMode ? Color.black : Color(red: 0.95, green: 0.95, blue: 0.96))
+ .background(Color.black)
.clipShape(CodyncPanelShape(
topCornerRadius: topCornerRadius,
bottomCornerRadius: bottomCornerRadius
diff --git a/CodyncShared/Sources/Theme/GlassTheme.swift b/CodyncShared/Sources/Theme/GlassTheme.swift
index 15f7341d..00695bb4 100644
--- a/CodyncShared/Sources/Theme/GlassTheme.swift
+++ b/CodyncShared/Sources/Theme/GlassTheme.swift
@@ -153,28 +153,33 @@ public struct GlassCardModifier: ViewModifier {
private let cornerRadius: CGFloat = 14
public func body(content: Content) -> some View {
- let shape = RoundedRectangle(cornerRadius: cornerRadius, style: .continuous)
-
- content
- .background(resolvedBackground, in: shape)
- .overlay {
- if style == .elevated {
- LinearGradient(
- colors: [innerHighlight, Color.clear],
- startPoint: .top,
- endPoint: .center
- )
- .clipShape(shape)
+ if style == .normal {
+ // Pass-through — no glass effect in normal state
+ content
+ } else {
+ let shape = RoundedRectangle(cornerRadius: cornerRadius, style: .continuous)
+
+ content
+ .background(resolvedBackground, in: shape)
+ .overlay {
+ if style == .elevated {
+ LinearGradient(
+ colors: [innerHighlight, Color.clear],
+ startPoint: .top,
+ endPoint: .center
+ )
+ .clipShape(shape)
+ }
}
- }
- .overlay(shape.stroke(resolvedBorderColor, lineWidth: resolvedBorderWidth))
- .shadow(
- color: style == .elevated ? shadowColor : .clear,
- radius: style == .elevated ? shadowRadius : 0,
- x: 0, y: 4
- )
- .scaleEffect(resolvedScale)
- .opacity(resolvedOpacity)
+ .overlay(shape.stroke(resolvedBorderColor, lineWidth: resolvedBorderWidth))
+ .shadow(
+ color: style == .elevated ? shadowColor : .clear,
+ radius: style == .elevated ? shadowRadius : 0,
+ x: 0, y: 4
+ )
+ .scaleEffect(resolvedScale)
+ .opacity(resolvedOpacity)
+ }
}
}