Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more
style(onboarding): crisp card edge and no traffic lights
altic-dev2e46cedeba22
diff --git a/Sources/Fluid/Theme/Components/OnboardingComponents.swift b/Sources/Fluid/Theme/Components/OnboardingComponents.swiftindex 4920a749..57b60ddc 100644--- a/Sources/Fluid/Theme/Components/OnboardingComponents.swift+++ b/Sources/Fluid/Theme/Components/OnboardingComponents.swift@@ -140,11 +140,12 @@ struct FluidOnboardingLandingBackdrop: View {endRadius: 520)}- .mask {- RoundedRectangle(cornerRadius: 34, style: .continuous)- .inset(by: 14)- .fill(.white)- .blur(radius: 20)+ // A crisp card edge: the old feathered mask let the window's rectangle show through+ // the fade, which read as a second, uglier boundary on light desktops.+ .clipShape(RoundedRectangle(cornerRadius: 22, style: .continuous))+ .overlay {+ RoundedRectangle(cornerRadius: 22, style: .continuous)+ .strokeBorder(Color.white.opacity(0.08), lineWidth: 1)}.ignoresSafeArea()}@@ -163,8 +164,11 @@ private final class FluidOnboardingWindowTransparencyView: NSView {let isOpaque: Boollet backgroundColor: NSColorlet hasShadow: Bool+ let hiddenButtons: [NSWindow.ButtonType: Bool]}+ private static let windowButtons: [NSWindow.ButtonType] = [.closeButton, .miniaturizeButton, .zoomButton]+private weak var observedWindow: NSWindow?private var snapshot: WindowSnapshot?@@ -188,13 +192,20 @@ private final class FluidOnboardingWindowTransparencyView: NSView {self.snapshot = WindowSnapshot(isOpaque: window.isOpaque,backgroundColor: window.backgroundColor,- hasShadow: window.hasShadow+ hasShadow: window.hasShadow,+ hiddenButtons: Dictionary(uniqueKeysWithValues: Self.windowButtons.map {+ ($0, window.standardWindowButton($0)?.isHidden ?? false)+ }))}window.isOpaque = falsewindow.backgroundColor = .clear- window.hasShadow = false+ window.hasShadow = true+ // Onboarding is a single guided flow; the traffic lights only break the card illusion.+ for button in Self.windowButtons {+ window.standardWindowButton(button)?.isHidden = true+ }}private func restoreWindow() {@@ -202,6 +213,9 @@ private final class FluidOnboardingWindowTransparencyView: NSView {window.isOpaque = snapshot.isOpaquewindow.backgroundColor = snapshot.backgroundColorwindow.hasShadow = snapshot.hasShadow+ for (button, wasHidden) in snapshot.hiddenButtons {+ window.standardWindowButton(button)?.isHidden = wasHidden+ }self.observedWindow = nilself.snapshot = nil}