From 481b08e46a88387ac968bb71209f7f28262d9af4 Mon Sep 17 00:00:00 2001 From: chodaict Date: Thu, 11 Jun 2026 16:24:44 +0900 Subject: [PATCH] feat: continuous (squircle) corners MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch the SwiftUI rounded rectangles (sidebar row background and the two detail panels) to the .continuous corner style — Apple's native squircle curvature. Capsules/circles unchanged; there are none here. Co-Authored-By: Claude Opus 4.8 (1M context) --- Sources/ClioilApp/ClioilApp.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/ClioilApp/ClioilApp.swift b/Sources/ClioilApp/ClioilApp.swift index d066fc5..d36896e 100644 --- a/Sources/ClioilApp/ClioilApp.swift +++ b/Sources/ClioilApp/ClioilApp.swift @@ -38,7 +38,7 @@ struct ContentView: View { .padding(.vertical, 5).padding(.horizontal, 6) .frame(maxWidth: .infinity, alignment: .leading) .listRowBackground( - RoundedRectangle(cornerRadius: 6) + RoundedRectangle(cornerRadius: 6, style: .continuous) .fill(isSel ? Color.reefTeal : Color.clear) .padding(.vertical, 1) ) @@ -201,7 +201,7 @@ struct ProjectDetailView: View { .padding(10) .frame(maxWidth: .infinity, alignment: .leading) .background(Color(hex: 0x031c1c)) - .clipShape(RoundedRectangle(cornerRadius: 8)) + .clipShape(RoundedRectangle(cornerRadius: 8, style: .continuous)) } if let a = publisher.advice { @@ -216,7 +216,7 @@ struct ProjectDetailView: View { .padding(10) .frame(maxWidth: .infinity, alignment: .leading) .background(Color.reefAmber.opacity(0.12)) - .clipShape(RoundedRectangle(cornerRadius: 8)) + .clipShape(RoundedRectangle(cornerRadius: 8, style: .continuous)) } } }